Click here to Skip to main content
16,017,638 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Message sending in Lan C# win form Pin
vr99999999915-Dec-12 1:29
vr99999999915-Dec-12 1:29 
QuestionGraphics Interface (game) Pin
April Fans13-Dec-12 18:37
April Fans13-Dec-12 18:37 
AnswerRe: Graphics Interface (game) Pin
Richard MacCutchan13-Dec-12 22:40
mveRichard MacCutchan13-Dec-12 22:40 
GeneralRe: Graphics Interface (game) Pin
April Fans20-Dec-12 19:13
April Fans20-Dec-12 19:13 
QuestionCompilation Problem Pin
BobInNJ13-Dec-12 14:15
BobInNJ13-Dec-12 14:15 
AnswerRe: Compilation Problem Pin
Graham Breach13-Dec-12 21:58
Graham Breach13-Dec-12 21:58 
GeneralRe: Compilation Problem Pin
BobInNJ14-Dec-12 11:16
BobInNJ14-Dec-12 11:16 
GeneralRe: Compilation Problem Pin
Graham Breach14-Dec-12 23:31
Graham Breach14-Dec-12 23: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 6:41
alaaan7313-Dec-12 6:41 
SuggestionRe: error C2678: binary '=' Pin
Maximilien13-Dec-12 7:00
Maximilien13-Dec-12 7:00 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 7:18
alaaan7313-Dec-12 7:18 
AnswerRe: error C2678: binary '=' Pin
Chris Meech13-Dec-12 7:30
Chris Meech13-Dec-12 7:30 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 7:52
alaaan7313-Dec-12 7:52 
GeneralRe: error C2678: binary '=' Pin
Chris Meech13-Dec-12 8:17
Chris Meech13-Dec-12 8:17 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 8:59
alaaan7313-Dec-12 8:59 
GeneralRe: error C2678: binary '=' Pin
Chris Meech13-Dec-12 9:06
Chris Meech13-Dec-12 9:06 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 9:24
alaaan7313-Dec-12 9:24 
GeneralRe: error C2678: binary '=' Pin
Freak3014-Dec-12 0:48
Freak3014-Dec-12 0:48 
AnswerRe: error C2678: binary '=' Pin
Richard MacCutchan13-Dec-12 7:33
mveRichard MacCutchan13-Dec-12 7:33 
GeneralRe: error C2678: binary '=' Pin
alaaan7313-Dec-12 7:55
alaaan7313-Dec-12 7:55 
Questionprocess Pin
messages13-Dec-12 3:45
messages13-Dec-12 3:45 
AnswerRe: process Pin
David Crow13-Dec-12 4:14
David Crow13-Dec-12 4:14 
GeneralRe: process Pin
messages13-Dec-12 4:18
messages13-Dec-12 4:18 
Questionexporting data from C++ to C Pin
danielsutopo12-Dec-12 15:00
danielsutopo12-Dec-12 15:00 
AnswerRe: exporting data from C++ to C Pin
Richard MacCutchan12-Dec-12 22:35
mveRichard MacCutchan12-Dec-12 22: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.