C++ Question, See if you got what it takes... No Cheating!

Started by
9 comments, last by Dan Smith 24 years, 4 months ago
Ok this is what it looks like to me...

You have a macro called DebugCode that
does something unspecified. It only does
this when DEBUG has been defined. When
DEBUG is commented out (for your release
version of course), it defines a blank
macro.

This is cool because when DEBUG is defined
you can have all awesome messages for the programmer and log files and stuff, then you
just change 1 line to release it.

This topic is closed to new replies.

Advertisement