#define problem

James Beauchamp beaucham at uxh.cso.uiuc.edu
Thu Jun 20 15:18:27 AEST 1991


I have many occurences of 'printf(' which I would like to replace with
'fprintf(stderr,' in my C program.  Is there a way to do this #define?

#define printf( fprintf(sterr,

definitely doesn't parse.

Jim Beauchamp  j-beauchamp at uiuc.edu

-----------------------------
Everything should be possible (in C)



More information about the Comp.lang.c mailing list