delorie.com/archives/browse.cgi | search |
From: | dontmailme AT iname DOT com (Steamer) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: C? |
Date: | Thu, 03 Aug 2000 08:27:57 GMT |
Organization: | always disorganized |
Lines: | 16 |
Message-ID: | <39892cf9.1571210@news.freeserve.net> |
References: | <Pine DOT LNX DOT 4 DOT 21 DOT 0008030526520 DOT 1322-100000 AT roadrunner DOT grendel DOT net> |
NNTP-Posting-Host: | modem-218.foxface.dialup.pol.co.uk |
X-Trace: | news7.svr.pol.co.uk 965291277 6877 62.137.15.218 (3 Aug 2000 08:27:57 GMT) |
NNTP-Posting-Date: | 3 Aug 2000 08:27:57 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Newsreader: | Forte Free Agent 1.11/32.235 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Kalum Somaratna aka Grendel wrote: > > // comments are not necessarily acceptable in C. Most C _compilers_, > > OTOH, support // comments in C code. > > Yes, IIRC there is a option in gcc which causes it to reject .c files with > // in them. The option you are referring to is -ansi. But it's a misnomer, because ANSI C now does allow // comments. > As // is not a C feature, it is strictly a C++ feature. This is no longer true. S.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |