Feature of C++ Language
Fig: Feature of c++ |
·
Simple:
It is a simple language in the sense that
programs can be broken down into logical units and parts, has a rich libray
support and a variety of data-types.
·
Machine
Independent but Platform Dependent:
A C++ executable is not platform-independent (compiled programs on Linux won’t run on Windows), however they are machine independent.
·
Mid-level
language:
It is a mid-level language as we can do both
systems-programming (drivers, kernels, networking etc.) and build large-scale
user applications (Media Players, Photoshop, Game Engines etc.)
·
Rich
library support:
Has a rich library support (Both standard ~
built-in data structures, algorithms etc.) as well 3rd party libraries (e.g.
Boost libraries) for fast and rapid development.
·
Speed of
execution:
C++ programs excel in execution speed. Since, it is a compiled language, and also hugely procedural. Newer languages have extra in-built default features such as grabage-collection, dynamic typing etc. which slow the execution of the program overall. Since there is no additional processing overhead like this in C++, it is blazing fast.
·
Pointer
and direct Memory-Access:
C++ provides pointer support which aids users
to directly manipulate storage address. This helps in doing low-level
programming (where one might need to have explicit control on the storage of
variables).
·
Object-Oriented:
One
of the strongest points of the language which sets it apart from C.
Object-Oriented support helps C++ to make maintainable and extensible programs.
i.e. Large-scale applications can be built. Procedural code becomes difficult
to maintain as code-size grows.
·
Compiled
Language:
C++
is a compiled language, contributing to its speed.
No comments:
Post a Comment