Hi All
I need a solution for my debug functionallity. Depending on the variable DEBUG, messages should or shouldn't appear in the console.
Can this be done with fprintf ? If DEBUG is 0 it should point to /dev/null and if 1 to the console (if it exists) ?
Any suggestions ?
thnx in advance
Luca