Macro recognition

utzoo!decvax!duke!mcnc!ncsu!msdc!emory!neal utzoo!decvax!duke!mcnc!ncsu!msdc!emory!neal
Thu Mar 24 22:13:14 AEST 1983




Does anyone know of a trick to get the C preprocessor to
recognize a macro inside a quoted string?
As in:

#define DIR dir1
string = "/usr/DIR/file";

Thanx in advance,
Neal Nuckolls
emory!neal



More information about the Comp.lang.c mailing list