Characteristics Of C++

View previous topic View next topic 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.

Portability:
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.

Brevity:
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.

Speed:
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.

thnx...

_________________
n1cKy cheers
avatar
Nikhlesh
Admin

Posts : 24
Points : 31659
Reputation : 0
Join date : 2009-04-02
Age : 27
Location : India

http://www.h4ck3rz.ideaboard.net or http://www.logmein.h4ck3r.in

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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