Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Macros in ANSI C Message-ID: <1991Mar4.233436.26818@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1172@intelisc.isc.intel.com> Date: Mon, 4 Mar 1991 23:34:36 GMT In article <1172@intelisc.isc.intel.com> mojy@iSC.intel.com (Mojy Mirashrafi) writes: >#define conv(s) 's' > >In ANSI C the "'" prevents evaluation of the enclosed characters. >The above macro will expand to: 's'. Is there a way to escape the "'"s, in ANSI >C? No. -- "But this *is* the simplified version | Henry Spencer @ U of Toronto Zoology for the general public." -S. Harris | henry@zoo.toronto.edu utzoo!henry