Click here to Skip to main content
15,917,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Right, Christian ! Pin
Vikram A Punathambekar8-Mar-03 16:26
Vikram A Punathambekar8-Mar-03 16:26 
GeneralRe: Right, Christian ! Pin
Christian Graus8-Mar-03 21:16
protectorChristian Graus8-Mar-03 21:16 
GeneralRe: Hello, world! Pin
PJ Arends6-Mar-03 21:13
professionalPJ Arends6-Mar-03 21:13 
GeneralOh, man! You're right! Pin
Vikram A Punathambekar7-Mar-03 0:27
Vikram A Punathambekar7-Mar-03 0:27 
GeneralRe: Hello, world! Pin
Tim Smith7-Mar-03 2:24
Tim Smith7-Mar-03 2:24 
GeneralRe: Hello, world! Pin
Vikram A Punathambekar8-Mar-03 16:03
Vikram A Punathambekar8-Mar-03 16:03 
GeneralRe: Hello, world! Pin
Roger Allen7-Mar-03 1:57
Roger Allen7-Mar-03 1:57 
GeneralRe: Hello, world! Pin
Vikram A Punathambekar8-Mar-03 16:12
Vikram A Punathambekar8-Mar-03 16:12 
WOW!

I never woulda thought of that! Unsure | :~ Err... maybe I would, given some time. Anyway, full credits to you!

No offense meant, but if you see closely, I don't want anything inside main() to be changed. Your solution and the << overload solution indirectly do that. They change the behavior of what is inside main() from outside. A purist wouldn't like it. The "cleanest" is the global constructor solution, while the dirtiest is the pragma (see my earlier post for code).

Nice work!
Regards,
Vikram.

"Do not give redundant error messages again and again." - A classmate of mine, while giving a class talk on error detection in compiler design.
GeneralParseCommandLine Pin
Anthony98876-Mar-03 16:10
Anthony98876-Mar-03 16:10 
GeneralRe: ParseCommandLine Pin
Dave Bryant6-Mar-03 16:31
Dave Bryant6-Mar-03 16:31 
GeneralRe: ParseCommandLine Pin
Scott H. Settlemier7-Mar-03 5:41
Scott H. Settlemier7-Mar-03 5:41 
Generalstatic variable Pin
Anthony98876-Mar-03 15:27
Anthony98876-Mar-03 15:27 
GeneralRe: static variable Pin
Christian Graus6-Mar-03 15:40
protectorChristian Graus6-Mar-03 15:40 
GeneralFindResource() problem Pin
Salvador Dali6-Mar-03 14:41
Salvador Dali6-Mar-03 14:41 
GeneralRe: FindResource() problem Pin
Dave Bryant6-Mar-03 14:56
Dave Bryant6-Mar-03 14:56 
GeneralRe: FindResource() problem Pin
Salvador Dali6-Mar-03 18:20
Salvador Dali6-Mar-03 18:20 
GeneralRe: FindResource() problem Pin
Blake Miller7-Mar-03 9:23
Blake Miller7-Mar-03 9:23 
QuestionHow would i add a file to a SDI? Pin
Colin Davidson6-Mar-03 14:06
Colin Davidson6-Mar-03 14:06 
AnswerRe: How would i add a file to a SDI? Pin
valikac6-Mar-03 19:57
valikac6-Mar-03 19:57 
QuestionHow to update the resource in an exe file under Windows 98? Pin
stanley guan6-Mar-03 13:46
stanley guan6-Mar-03 13:46 
AnswerRe: How to update the resource in an exe file under Windows 98? Pin
Dave Bryant6-Mar-03 14:57
Dave Bryant6-Mar-03 14:57 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
stanley guan6-Mar-03 15:06
stanley guan6-Mar-03 15:06 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
Dave Bryant6-Mar-03 15:12
Dave Bryant6-Mar-03 15:12 
GeneralRe: How to update the resource in an exe file under Windows 98? Pin
stanley guan6-Mar-03 15:38
stanley guan6-Mar-03 15:38 
QuestionHow do I post a message to a CDocument? Pin
clintsinger6-Mar-03 13:38
clintsinger6-Mar-03 13:38 

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.