Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2009 09:03:22 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: need C help, passing char buffer[] by-value....
Message-ID:  <20091019140322.GB35875@Grumpy.DynDNS.org>
In-Reply-To: <19163.56681.724615.44106@jerusalem.litteratus.org>
References:  <20091019013337.GA9522@thought.org> <20091019040229.b4e11bbc.freebsd@edvax.de> <4ad871310910181916q655dec06k72b1e7577751751e@mail.gmail.com> <19163.56681.724615.44106@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091019140322.GB35875>