From mboxrd@z Thu Jan 1 00:00:00 1970 From: crossd@gmail.com (Dan Cross) Date: Thu, 9 Feb 2017 19:17:31 -0500 Subject: [TUHS] // comment in C++ In-Reply-To: References: <466b9b582736cb809ecabc7702b74914b27be4b6@webmail.yaccman.com> <20170209115922.GH5418@yeono.kjorling.se> Message-ID: On Thu, Feb 9, 2017 at 4:56 PM, Dave Horsfall 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 > it. Well, it wasn't in c89, but it's been part of ANSI C since 1999: almost 20 years! - Dan C. -------------- next part -------------- An HTML attachment was scrubbed... URL: