🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

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

Started by
9 comments, last by Dan Smith 24 years, 7 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