Help with my printf function

Posted by nunos on Stack Overflow See other posts from Stack Overflow or by nunos
Published on 2010-05-25T17:09:21Z Indexed on 2010/05/25 17:11 UTC
Read the original article Hit count: 269

Filed under:
|

For debugging purposes I would like to have a printf_debug function that would function just like the standard printf function, but would only print if a #DEFINE DEBUG was true

I know I have to use varagrs (...) but I have no idea how to actually achieve that.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about c

    Related posts about printf