Thread: C++ or C?
View Single Post
  #3 (permalink)  
Old 12-13-2005, 10:20 AM
Kamesh Kamesh is offline
Member
 
About:
Join Date: Dec 2005
Posts: 45
Kamesh is on a distinguished road

Default


C++ is an enhanced version of the C language. C++ includes everything that is part of C and adds support for object-oriented programming (OOP). In addition, C++ also contains many improvements and features that make it a "better C", independent of object oriented programming. C++ is actually an extendible language since we can define new types in such a way that they act just like the predefined types which are part of the standard language.

If you just use C++ as a better C, you will not be using all of its power. Like any quality tool, C++ must be used the way it was designed to be used to exploit its richness. Some of the new features include encapsulation, inline function calls, overloading operators, inheritance and polymorphism which are not present in C scripting.



Reply With Quote