In this tutorial you will learn about the C++ Features and its application with practical example.
The C++ (also read as C plus plus) is a general-purpose object oriented programming language. C++ is an enhanced version of the C language introduced with many new features, and is best known as super-set of C language. It is very powerful programming language that helps programmers write variety of programs. Here we list some of the important features of C++
Simple :- C++ comes with easy to learn simple English language like syntax, which makes it very easy to understand and develop C++ Programs.
High Performance :- Being a statically typed language, C++ is generally performs more than any dynamically typed languages because the code is type-checked before it is executed.
Statically Typed :- C++ is a statically typed programming language, which means type checking is performed at compile-time instead of run-time. This allows compiler to catch the bugs before executing the program.
Multi Paradigm :- C++ is a multi-paradigm object oriented programming language that supports procedural, object-oriented (OOPs), and generic programming whereas C is a procedural programming language.
Object Oriented :- C++ is a general-purpose, multi-paradigm object oriented programming language that supports procedural, object-oriented (OOPs), and generic programming whereas C is a procedural programming language. It compliance with four of the major OOPs principles Inheritance, Polymorphism, Encapsulation and Abstraction.
Standard Template Library(STL) :- C++ comes with rich inbuilt function library through Standard Template Library (STL).
Pointers :- C++ supports the use of pointers which are often not available in several programming languages.
Portable :- C++ is Portable language, which allows you writing a program irrespective of operating system as well as Hardware. Programs written in C++ can be executed in many machines with little bit or no change. C++ is a highly portable language that supports multi-device, multi-platform application development.
Reusable :- C++ comes with a increased level of code re-usability due to the object oriented programming model and libraries.
Exception handling :- C++ supports exception handling which was not possible in C.
Memory Management :- C++ supports the dynamic memory allocation, which gives user complete control over memory management. In C++ language, we can allocated and free up memory dynamically at any time.
Case Sensitive :- C++ is a case sensitive programming language. In C++ programming “abc” and “ABC” both are different.
Compiled :- C++ is compiled language, which means C++ source code need to be first compiled into low-level code and then it can be executed, unlike interpreted programming languages where compilation is not needed.
Platform Dependent :- C++ is a platform dependent language. A language is said to be platform dependent whenever the program is execute in the same operating system where that was developed and compiled but not run and execute on other operating system.
Scalable :- C++ becomes a preferred choice for applications where high concurrency, multithreading and load tolerance is required. As C++ is close to the hardware and comes with multithreading libraries, that provide high concurrency and load tolerance and makes C++ highly scalable.
Community :- With C++ you will get a huge community of active members all around the world. C++ is the 6th most used and followed tag on StackOverflow and GitHub.