Fwd: RE: [Dev-C++] c or c++. that is the question
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Krzysztof K. <sa...@op...> - 2003-04-24 13:10:32
|
> Khalid > >Ioannis wearing his bullet-proof vest: > > > > > >Keep in mind that the prevalent X-Window library now is a > C++ one. Also > >most > >new GNU/Linux programs are being written in C++ these days... > > > > > >File sizes for the hello world program should not be different. > > This is not exactly right. One of the reasons why the C++ code could be larger/slower than C one (not much, just a bit) is that for every object the '*this' pointer is added to function params. Just putting it one the stack takes a bit of time and a bit of space... Why people need to use C sometimes instead of C++? Because there are many platforms (especially microcontrollers) for which there is a C compiler but no C++ is available. Also the object-oriented (C++) programming (with analysis, optimization) is more complicated than programming without objects. -- Have a nice life, Krzysztof mailto:sa...@op... http://www.saveman.w.pl |