C commments

Andrew Draskoy andrew at garfield.UUCP
Sat Feb 25 10:17:07 AEST 1984


Arrrrggh!  After running into an annoying property of C for the nth agonizing
time, I have decided to flame (lightly) about it here.

I had commented out a fairly large section of code and compiled the program,
and got all sorts of errors when I had thought that all was ok.  Why?
Because the code I had commented out had other comments in it, and the first
one to end was considered the end of the whole section of commented out code.
I want to leave the commented code in, so the comments in, and the comments
within it.

I want nested comments!
(C flame off)



More information about the Comp.lang.c mailing list