Hi, I need some help!
I'd like to do a function for debug my code (at compile time) that follows this scheme:
#ifdef DEBUG
my_printf( <list arguments> ) printf( <list arguments> )
#else
my_printf( <list arguments> ) NOTHING
#end
In other words if DEBUG is defined the code is replace with the printf() function else do nothing.
How can I write this macro for my purpose??
Thanks a lots.