delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/07/06:37:19

Reply-To: <arfa AT clara DOT net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>,
"Ralph Proctor" <ralphgpr AT shadow DOT net>
Subject: RE: C++ in Mail Archive
Date: Mon, 7 Sep 1998 11:36:38 +0100
Message-ID: <000101bdda4b$64c24ea0$c64d08c3@arthur>
MIME-Version: 1.0
In-Reply-To: <3.0.1.16.19980906135107.094fdb70@shadow.net>
Importance: Normal

> At 05:58 PM 9/6/98 +0100, you wrote:
> >> I would like to read what has been written about C++ in the DJGPP mail
> >> archive, but it won't accept  a "C++" "word".
> >>
> >> Could anybody advise how I can do this? How can I reword the inquiry?
> >
> >What do you want to find out? Any specific info, or just anything that's
> >been written on the subject?
> >
> >James Arthur
> >jaa AT arfa DOT clara DOT net
> >ICQ#15054819>
>
> The main thing I want to find out is at what point or for what reason does
> a C programmer thinks he has to change from C to C++ (not counting if his
> boss tells him to). What's the big improvement over C?
>
> And in the case of DJGPP has anybody found an advantage of C++ over C?

I moved over to C++ because of being in a game programming team which was
using C++. I had to learn it, but found in fact that I had been using
several features of C++ as though they were C.

The big improvement of C++ over C is that it allows things to be done
easily, whereas in pure C the same thing would have taken lots more coding.
For instance, placing functions in a struct is really useful for grouping
them together, and structures also have certain properties which allow you
to do complex things easily. Overloading is also a major function, with the
iostream being the prime example of this.

The improvement in DJGPP of C++ over C is the same as in any compiler. It
allows you to create powerful Object-Oriented programs which, due to their
design, would be extremily time consuming in C. Having said that, C++ is
just an extension of the C language.

I sugest you check out ftp://ftp.icce.rug.nl/pub/http/ which has the online
version of C++ Annatations, which explains the differences between C and C++
in some detail.

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819

- Raw text -


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