Conditional Compilation
Hello,
I heard that you can conditionally compile something with the #ifdef and #endif. How can I do this. I've looked online but can't find anything. Here's what I'm doing: Code:
Thanks for any help. |
You're close.
You need "-D" (like you had), and the symbol is "DEBUG". So you were off by one "D": Quote:
Code:
#if defined(DEBUG) |
Thanks again for your help.
|
My pleasure!
|
All times are GMT -5. The time now is 03:19 AM. |