delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/29/08:38:42

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Tue, 29 Jan 2002 15:36:08 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: C or C++?
In-Reply-To: <3C569F50.6D553AA1@NOSPPAMhotmail.com>
Message-ID: <Pine.SUN.3.91.1020129153348.8440C-100000@is>
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 Tue, 29 Jan 2002, David Leben wrote:

> > Those ``minor differences'' make a world of difference in some
> > cases.  For details and some examples, see section 8.4 of the DJGPP
> > FAQ list.
> 
> That section only talks about //-style comments.

You've overlooked the following part of that section:

  While admittedly perverse, this little monstrosity was written with the
  sole purpose of demonstrating that C and C++ have quite different semantics 
  under certain circumstances.  Some people think that C is a proper subset
  of C++; the above example shows that this is _not_ true.

In other words, the // comments are just one example of the differences 
between the two languages.

- Raw text -


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