C++ is a better of C . Do programmers just use C++ and push C aside ?
Printable View
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.
this is cross-posted.
> 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.
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.Quote:
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]