/ Published in: C

With the code fragment below, you can easily add output logging to a text-based program. Add the functions, open the log file and replace calls to (f)printf by (f)printflog.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
int printflog( const char *format, ... ) { va_list arglist; int ret; return ret; } int fprintflog( FILE *stream, const char *format, ... ) { va_list arglist; int ret; return ret; }
Comments
