News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

#if _DEBUG ??

Started by 12oclocker, November 02, 2010, 12:16:08 AM

Previous topic - Next topic

12oclocker

for those that want to use compile time statment for a win32 gui application, such as

#if DEBUG
//do something here if compiled in debug mode only
#endif

I notice in "project->build options->[#defines]"
select Debug in the left list, then you must add "DEBUG = 1" in the "#defines" tab, it's not there by default ;-)