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 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.