Click here to Skip to main content
15,915,069 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Need to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 4:09
andreas_sweden6-Dec-05 4:09 
GeneralRe: Need to get Command line argument and add to this simple function Pin
David Crow6-Dec-05 4:11
David Crow6-Dec-05 4:11 
GeneralRe: Need to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 4:16
andreas_sweden6-Dec-05 4:16 
GeneralRe: Need to get Command line argument and add to this simple function Pin
David Crow6-Dec-05 4:43
David Crow6-Dec-05 4:43 
GeneralRe: Need to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 4:49
andreas_sweden6-Dec-05 4:49 
GeneralRe: Need to get Command line argument and add to this simple function Pin
David Crow6-Dec-05 4:57
David Crow6-Dec-05 4:57 
GeneralRe: Need to get Command line argument and add to this simple function Pin
andreas_sweden6-Dec-05 6:07
andreas_sweden6-Dec-05 6:07 
QuestionOverloading << operator? Pin
Cristoff6-Dec-05 2:03
Cristoff6-Dec-05 2:03 
I've tried to overload the << oprator, so that I can output to a file and to a console at the same time but I have no success. I cannot find a solution in Internet and I get the error message: ambigous overload of operator <<...

Any ideas what to do?

I want to be able to use this operator to output something like:
logfile << "data";
but still to be able to do this:
cout << "out";

Thank you!
AnswerRe: Overloading &amp;lt;&amp;lt; operator? Pin
toxcct6-Dec-05 2:37
toxcct6-Dec-05 2:37 
GeneralRe: Overloading &amp;amp;lt;&amp;amp;lt; operator? Pin
Cristoff6-Dec-05 2:53
Cristoff6-Dec-05 2:53 
GeneralRe: Overloading &amp;amp;amp;lt;&amp;amp;amp;lt; operator? Pin
toxcct6-Dec-05 2:55
toxcct6-Dec-05 2:55 
GeneralRe: Overloading &amp;amp;amp;amp;lt;&amp;amp;amp;amp;lt; operator? Pin
Cristoff6-Dec-05 6:08
Cristoff6-Dec-05 6:08 
AnswerRe: Overloading &amp;amp;amp;amp;amp;lt;&amp;amp;amp;amp;amp;lt; operator? Pin
toxcct6-Dec-05 6:13
toxcct6-Dec-05 6:13 
GeneralRe: Overloading &amp;amp;amp;amp;amp;amp;lt;&amp;amp;amp;amp;amp;amp;lt; operator? Pin
Cristoff6-Dec-05 11:16
Cristoff6-Dec-05 11:16 
GeneralRe: Overloading &amp;amp;amp;lt;&amp;amp;amp;lt; operator? Pin
S. Senthil Kumar6-Dec-05 4:06
S. Senthil Kumar6-Dec-05 4:06 
Question[Message Deleted] Pin
Eytukan6-Dec-05 4:46
Eytukan6-Dec-05 4:46 
AnswerRe: Overloading &amp;amp;amp;lt;&amp;amp;amp;lt; operator? Pin
toxcct6-Dec-05 5:43
toxcct6-Dec-05 5:43 
AnswerRe: Overloading &amp;lt;&amp;lt; operator?Correct way Pin
Amol Ravatale6-Dec-05 20:15
Amol Ravatale6-Dec-05 20:15 
GeneralRe: Overloading &amp;amp;lt;&amp;amp;lt; operator?Correct way Pin
Amol Ravatale6-Dec-05 21:27
Amol Ravatale6-Dec-05 21:27 
AnswerRe: Overloading &amp;lt;&amp;lt; operator? Pin
Cristoff10-Dec-05 8:36
Cristoff10-Dec-05 8:36 
GeneralRe: Overloading &amp;amp;lt;&amp;amp;lt; operator? Pin
Cristoff10-Dec-05 8:38
Cristoff10-Dec-05 8:38 
QuestionRS-232 Serial port Communication? Pin
madhu_v6-Dec-05 1:46
madhu_v6-Dec-05 1:46 
AnswerRe: RS-232 Serial port Communication? Pin
kakan6-Dec-05 2:53
professionalkakan6-Dec-05 2:53 
Questionhow to open most recent document? Pin
jayshml6-Dec-05 1:43
jayshml6-Dec-05 1:43 
AnswerRe: how to open most recent document? Pin
ThatsAlok6-Dec-05 2:29
ThatsAlok6-Dec-05 2:29 

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.