www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/02/19:30:30

Date: Thu, 3 Aug 2000 05:28:26 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Sender: kalum AT roadrunner DOT grendel DOT net
To: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
cc: djgpp AT delorie DOT com
Subject: Re: C?
In-Reply-To: <gqggoskriu9f8009rtngtobsv7dj57c50e@4ax.com>
Message-ID: <Pine.LNX.4.21.0008030526520.1322-100000@roadrunner.grendel.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 2 Aug 2000, Damian Yerrick spoke the following immortal words,

> On 02 Aug 2000 08:27:36 -0400, Ben Pfaff <pfaffben AT msu DOT edu> wrote:
> 
> >"BSTRhino" <bstrhino AT ihug DOT co DOT nz> writes:
> >
> >> So you are using C?
> >> C++ is so much better...
> >> 
> >> I found that out from the comments
> >> /* You did them like this */
> >> // I do them like this.
> >
> >That's a *lame* troll.  For one thing, both types of comment are
> >acceptable in both languages.
> 
> // 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. As // is not a C feature, it is strictly a C++ feature.


Grendel

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019