On Sun, Oct 18, 2009 at 11:30:49PM -0400, Robert Huff wrote:
> 
> Glen Barber writes:
> >  
> >  "//" comments are recognized by both C and C++.
> 
>       How about "... are recognized by both C++ and more recent versions
> of C."?

I think gcc++ and gcc use the same preprocessor? Comments are stripped
in the preprocessor.

The only thing we can really say is that gcc accepts // as a comment. Is
becoming an accepted convention in other C's but I doubt one can
universally state that its accepted in all "recent versions".

-- 
David Kelly N4HHE, dke...@hiwaay.net
========================================================================
Whom computers would destroy, they must first drive mad.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to