Preprocessor macro to quote its argument

R. Kym Horsell vu0310 at bingvaxu.cc.binghamton.edu
Sat Aug 18 23:30:12 AEST 1990


In article <1112 at mti.mti.com> adrian at mti.UUCP (Adrian McCarthy) writes:
>Ever needed a preprocessor macro that could quote its argument?  I did for
\\\
>	#define Q	"
>	#define Q1(x)	Q x "


Whatever happened to

#define	Q(x)	#x

?

-Kym Horsell



More information about the Comp.lang.c mailing list