RE: [Dev-C++] c or c++. that is the question
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <iv...@at...> - 2003-04-23 06:14:36
|
A C++ program should not be less space/time efficient than an equivalent = C program. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Norman Gonsalves Sent: Wednesday, April 23, 2003 8:57 AM To: dev...@li... Subject: Re: [Dev-C++] c or c++. that is the question On Tue, 22 Apr 2003 22:16:34 -0400 "jose isaias cabrera" <ji...@fr...> writes: >Here is a question for all: why would anyone use c when c++ is so much easier? Two obvious reasons are executable code size and compiler capability. Code written in C usually generates smaller executables than code = written in C++. Because of this you are more likely to use C only for embedded applications. If you are using a C only compiler (and there still several around) then = the use of C only is a given. Many older C/C++ compilers will have a lot of trouble with modern ANSI C++, but will probably work fine with C code. = Also, there are several interpreters and script languages based on C, but very = few based on (the more complex) C++. Is C++ really easier to use than C? The answer is a matter of opinion = ... many will disagree! Norm |