Click here to Skip to main content
15,793,368 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Message sending in Lan C# win form Pin
vr99999999915-Dec-12 2:29
vr99999999915-Dec-12 2:29 
QuestionGraphics Interface (game) Pin
April Fans13-Dec-12 19:37
April Fans13-Dec-12 19:37 
AnswerRe: Graphics Interface (game) Pin
Richard MacCutchan13-Dec-12 23:40
mveRichard MacCutchan13-Dec-12 23:40 
GeneralRe: Graphics Interface (game) Pin
April Fans20-Dec-12 20:13
April Fans20-Dec-12 20:13 
QuestionCompilation Problem Pin
BobInNJ13-Dec-12 15:15
BobInNJ13-Dec-12 15:15 
AnswerRe: Compilation Problem Pin
Graham Breach13-Dec-12 22:58
Graham Breach13-Dec-12 22:58 
GeneralRe: Compilation Problem Pin
BobInNJ14-Dec-12 12:16
BobInNJ14-Dec-12 12:16 
GeneralRe: Compilation Problem Pin
Graham Breach15-Dec-12 0:31
Graham Breach15-Dec-12 0:31 
Sorry, I missed out that you have to fix the friend declaration too:
C++
template<T>
friend ostream& operator<< (ostream&, Array<T>&);


An explicit specialization would look like this:
C++
template<>
ostream& operator<< (ostream& output, Array<int>& theArray)
{
  output << "output int array" << endl;
  return output;
}

Questionerror C2678: binary '=' Pin
alaaan7313-Dec-12 7:41
alaaan7313-Dec-12 7:41 
SuggestionRe: error C2678: binary '=' Pin
Maximilien13-Dec-12 8:00
Maximilien13-Dec-12 8:00 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 8:18
alaaan7313-Dec-12 8:18 
AnswerRe: error C2678: binary '=' Pin
Chris Meech13-Dec-12 8:30
Chris Meech13-Dec-12 8:30 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 8:52
alaaan7313-Dec-12 8:52 
GeneralRe: error C2678: binary '=' Pin
Chris Meech13-Dec-12 9:17
Chris Meech13-Dec-12 9:17 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 9:59
alaaan7313-Dec-12 9:59 
GeneralRe: error C2678: binary '=' Pin
Chris Meech13-Dec-12 10:06
Chris Meech13-Dec-12 10:06 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 10:24
alaaan7313-Dec-12 10:24 
GeneralRe: error C2678: binary '=' Pin
Freak3014-Dec-12 1:48
Freak3014-Dec-12 1:48 
AnswerRe: error C2678: binary '=' Pin
Richard MacCutchan13-Dec-12 8:33
mveRichard MacCutchan13-Dec-12 8:33 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 8:55
alaaan7313-Dec-12 8:55 
Questionprocess Pin
messages13-Dec-12 4:45
messages13-Dec-12 4:45 
AnswerRe: process Pin
David Crow13-Dec-12 5:14
David Crow13-Dec-12 5:14 
GeneralRe: process Pin
messages13-Dec-12 5:18
messages13-Dec-12 5:18 
Questionexporting data from C++ to C Pin
danielsutopo12-Dec-12 16:00
danielsutopo12-Dec-12 16:00 
AnswerRe: exporting data from C++ to C Pin
Richard MacCutchan12-Dec-12 23:35
mveRichard MacCutchan12-Dec-12 23:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.