C++ is a better of C . Do programmers just use C++ and push C aside ?
C++ is a better of C . Do programmers just use C++ and push C aside ?
False.
C++ is based on C with added functionality (ie. OOP).
No. It depends on what you are programming. Some things are more suited for C, some more suited for C++.
I hope this isn't a homework question.
>C++ is a better of C
This is a naive opinion. C and C++ are simply different, neither is superior.
>Do programmers just use C++ and push C aside ?
Programmers use whatever tool is best for the job at hand. At least, the smart ones do.
My best code is written with the delete key.
> this is cross-posted.
Where?
You're not referring to the redirect on the C forum are you, because that takes you to this thread.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Exactly! Having a personal favorite is of course ok, but stating one or the other as 'better' is, imo, not a good idea as there's no such thing as a correct answer.Originally posted by Prelude
>C++ is a better of C
This is a naive opinion. C and C++ are simply different, neither is superior.
A language is just a tool to solve some problem, a good programmer uses the tools which fit best to solve the problem.
[edit]
Hmmm. You're asking a lot of questions of the same kind.
http://cboard.cprogramming.com/showt...threadid=47512
http://cboard.cprogramming.com/showt...threadid=47513
[/edit]
Last edited by Shiro; 11-23-2003 at 05:49 AM.