I have an instruction in my code:
#if DEBUG == 0
this works fine in gnu g ++, but in VC ++ it doesn't work. Can someone explain what is wrong with this.
I already read the msdn help on this topic. therefore, if debug is defined as 1, then it is false ie0, so it should work similarly if debug = 0
Can anyone suggest how to fix this. My code must be compiled on both Linux and win.
thank
source
share