Author Topic: #if _DEBUG ??  (Read 7064 times)

12oclocker

  • Guest
#if _DEBUG ??
« on: November 02, 2010, 12:16:08 am »
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 ;-)
« Last Edit: November 02, 2010, 12:38:17 am by 12oclocker »