answersLogoWhite

0

C++ supports class. It is used Object-oriented Programming(OOPs) concept whose based on objects. We can use many classes in a program. Function overloading, Inheritance etc. concept present in it. Easy maintenance of program. That's why it seems better than c.

Is C++ better than C as you imply by the question. Just a thought. There are quite a few OO programming languages out there but on C++ is more popular. That would seem to imply that all the other OO programming languages are not much good or that C++ if the flavor of the month. I will make no pronouncement on that.

C++ programs require more typing than C (if you are a poor typist, an important factor). Anything that can be programmed in C++ can be programed in C (and will probably run faster) and anything that can be programmed in C can be programmed in C++.

C++ is perhaps harder to maintain and debug than C but C++ is supposedly better for relay large projects where the number of code lines gets to an absurd number.

I would say that one language is not better than the other but rather that, one language is going to be better suited for a given project and the suitable language may be something other than C or C++.

User Avatar

Wiki User

14y ago

What else can I help you with?