defining a comment?

Benny Pinkas benny at techunix.BITNET
Wed Sep 14 05:13:27 AEST 1988


Can I use the Preprocessor to define a comment?
I mean something like:

#define COM /*this is a comment*/

or even

#define STARTCOM /*

Usually the text after the /* is considered as a comment and is not part
of the macro definition.
I searched a dozen of C books, and didn't find something of help.

Thanks in advance

        Benny



More information about the Comp.lang.c mailing list