You _CAN_ "stringize" tokens in (some) K&R pre-processors

Carsten Wiethoff cnwietho at immd4.informatik.uni-erlangen.de
Thu Apr 4 05:37:50 AEST 1991


I prefer

#define QUOTE(x) "x
#define STRINGINIZE(x) QUOTE(x)"

which does not have the problem with spaces before x.

Carsten Wiethoff		| cnwietho at immd4.informatik.uni-erlangen.de




More information about the Comp.lang.c mailing list