Characteristics Of C++

Go down

Characteristics Of C++

Post  Nikhlesh on Sat Apr 10, 2010 3:01 pm

Why C++?
C++ has certain characteristics over other programming languages. The most remarkable ones are:

Object-oriented programming:
The possibility to orientate programming to objects allows the programmer to design applications from a point of view more like a communication between objects rather than on a structured sequence of code. In addition it allows a greater reusability of code in a more logical and productive way.

You can practically compile the same C++ code in almost any type of computer and operating system without making any changes. C++ is the most used and ported programming language in the world.

Code written in C++ is very short in comparison with other languages, since the use of special characters is preferred to key words, saving some effort to the programmer (and prolonging the life of our keyboards!).

Modular programming:
An application's body in C++ can be made up of several source code files that are compiled separately and then linked together. Saving time since it is not necessary to recompile the complete application when making a single change but only the file that contains it. In addition, this characteristic allows to link C++ code with code produced in other languages, such as Assembler or C.

C Compatibility:
C++ is backwards compatible with the C language. Any code written in C can easily be included in a C++ program without making any change.

The resulting code from a C++ compilation is very efficient, due indeed to its duality as high-level and low-level language and to the reduced size of the language itself.


n1cKy cheers

Posts : 24
Points : 35869
Reputation : 0
Join date : 2009-04-02
Age : 28
Location : India or http://www.logmein.h4c

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum