Hello guys I have a short question, that I need to understand. I just want to enable a piece of code in the entire project that works only in debugging mode. so I want like a macro let's say:
1 2 3
// code here..
#endif // DEVELOPMENT
so that code will only be active on Debugging.
So.. where do I have to define #DEVELOPMENT 1 to work with the compiler when I change it to Debug and #DEVELOPMENT 0 when I change to Release mode ?
.. Thank you.
Ahh.. okay .. That's only for MSVS..
Thank's Andy I work in that way .. but I saw ppl. doing that I didn't realize is only a MSVS pre-defined macro.
So last think .. can someone add a defined macro such as seeplus said. manually ?
Or I have to resign and use as I did before.. and Andy said.