Re: [Dev-C++] c or c++. that is the question
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: jose i. c. <ji...@fr...> - 2003-04-23 14:21:16
|
Well, perhaps I was prematured in posing the question. I can see your = point. My first project was to parse through up to ten text files of = 2megs each and create a report and it was very complicated using text = handling functions to split a line, to search through a really long line = of text, etc... Then finding out that c++ has string functions, I was = like, "dude, nice!" :') jos=E9 ----- Original Message -----=20 From: Norman Gonsalves=20 To: dev...@li...=20 Sent: Wednesday, April 23, 2003 1:57 AM 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 |