defining a comment?
Mike Hoegeman
mh at wlbr.EATON.COM
Mon Sep 19 04:25:27 AEST 1988
In article <3999 at bsu-cs.UUCP> dhesi at bsu-cs.UUCP (Rahul Dhesi) writes:
>In article <13604 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
>> COMMENT
>> text to be commented out
>> TNEMMOC
>> code
>>which of course does not work.
>Well...this may be just nitpicking, but:
> #define COMMENT "/*"
> #define TNEMMOC "*/"
> COMMENT
> text to be commented out
> TNEMMOC /* sdrawkcab "tnemmoc" tsuj si siht */
> c code
>Then use the preprocessor *twice* and you get
> c code
>Which is now ready for compilation.
Maybe I'm missing something here but what the h*ll is wrong with
plain old
/********
********/
Sheesh!!
-mike
More information about the Comp.lang.c
mailing list