[TUHS] // comment in C++
crossd at gmail.com
Fri Feb 10 10:17:31 AEST 2017
On Thu, Feb 9, 2017 at 4:56 PM, Dave Horsfall <dave at horsfall.org> wrote:
> On Thu, 9 Feb 2017, Michael Kjörling wrote:
> > I didn't know that // was now accepted to begin a comment in C, but I
> > strongly suspect that any compiler modern enough to know about that will
> > know just as well about #if 0.
> // isn't in ANSI C, but I've been using it for years on quite a few
> platforms (I see that even M$ supports it); I don't know where I first saw
Well, it wasn't in c89, but it's been part of ANSI C since 1999: almost 20
- Dan C.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TUHS