What does C++ Programming Language mean?
C++ is an object oriented programming (OOP) language, developed by Bjarne Stroustrup, and is an extension of C language. It is therefore possible to code C++ in a “C style” or “object-oriented style.”
C++ Language Features
Some of the interesting features of C++ are:
- Object-oriented: C++ is an object-oriented programming language. This means that the focus is on “objects” and manipulations around these objects. Information about how these manipulations work is abstracted out from the consumer of the object.
- Rich library support: Through C++ Standard Template Library (STL) many functions are available that help in quickly writing code. For instance, there are standard libraries for various containers like sets, maps, hash tables, etc.
- Speed: C++ is the preferred choice when latency is a critical metric. The compilation, as well as the execution time of a C++ program, is much faster than most other general purpose programming languages.
- Compiled: A C++ code has to be first compiled into low-level code and then executed, unlike interpreted programming languages where no compilation is needed.
- Pointer Support: C++ also supports pointers which are widely used in programming and are often not available in several programming languages.
Advantage of C++ programming are:
- C++ use multi-paradigm programming. Paradigm means style of programming .paradigm concerned about logics , structure and procedure of program. C++ is multi-paradigm means it follow three paradigm Generic, Imperative, Object Oriented.
- It is useful for low level programming language and very efficient for general purpose.
- C++ programming provide performance and memory efficiently.
- It provide high level abstraction.
- C++ is compatible with C.
- C++ used reusability of code.
- C++ used inheritance, polymorphism.
Disadvantage of C++ language are:
- Complex in very large high level program.
- Used for platform specific application commonly.
- For a particular operating system or platform the library set is usually chosen that locks.
- when C++ used for web applications complex and difficult to debug.
- C++ can’t support garbage collection.
- C++ not support Dynamic Memory Allocation.
- C++ is not secure because it have pointer, friend function and global variable.
- No support for threads built in.