I want to be able to switch my code easily into "debug mode". I guess you normally put things like this into your code:
....
....
#ifdef DEBUG_MODE
//some error-checking
#endif
....
.....
...but do I need a new header with "#define DEBUG MODE" and include it in almost every CPP file or is there some trick, a hint to the compiler or something?
Thanks!






