Monday, October 12, 2015

Digest for comp.lang.c++@googlegroups.com - 16 updates in 5 topics

Christopher Pisz <nospam@notanaddress.com>: Oct 12 02:14PM -0500

I have some code in a library that needs to do one thing if it is being
run "in console mode" and it needs to do another thing if it is being
run as a "windows service"
 
There is already a preprocessor definition in executables being run in
"console mode" put there by Visual Studio: _CONSOLE
 
However, I quickly discovered that a #ifdef #else

No comments: