Mail Archives: djgpp/1998/09/07/06:37:19
> 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 -