#define kinda stuff
Richard Kuhns
rjk at mrstve.UUCP
Wed Apr 16 00:30:24 AEST 1986
In article <1458 at cwruecmp.UUCP> ryan at cwruecmp.UUCP (Ryan McGuire) writes:
>
> O.K. all you people out there who think you know everything, I got
>one for ya:
>
> Here's what I wanna do:
>
>#define (-: /*
>#define :-) */
>
> Obviously I want to make (-: and :-) my comment delimiters. One problem,
> [etc]
> Thanks
> Ryan McGuire
I don't believe you can do it (portably, anyhow) with the C Preprocessor,
but if you send your program thru m4 (macro preprocessor) first, you should
be able to do it.
--
Rich Kuhns {ihnp4, decvax, etc...}!pur-ee!pur-phy!mrstve!rjk
More information about the Comp.lang.c
mailing list