User forums > Help

#if _DEBUG ??

(1/1)

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 ;-)

Navigation

[0] Message Index

Go to full version