C Macro question
Frank Ramsay
fjr at marsdome.myip.org
Sat Jun 15 10:09:58 EDT 2002
I'm horrible with Macros in C does anyone know how to make a macro that w
Now I have a ton of these so altering them manually would take much longer
than I have. Does anyone know of a macro or function that takes var args for
printf and re-formats them to a more logfile friendly format?
ie
printerror("file %d not found.\n",filename);
but what I want is something like this is this
Sat Jun 15 11:44:02 - ERROR: file greeting.vox not found.
-fjr
More information about the Discuss
mailing list