C++ is an Object-Oriented Programming language. C++ language is developed by Bjarne Stroustrup at BELL Lab in 1980’s.bjarne
Bjarne Stroustrup wanted to combine the best of the both the language and create a more powerful language that could support object-oriented programming features and that are –

  • Classes
  • Inheritance
  • Data Abstraction & Encapsulation
  • Polymorphism
  • Dynamic Binding
  • Message Passing
  • C++ is is an extension of C otherwise, C++ is a superset of C. It is a versatile language for handling very large programs that is suitable for virtuality any programming task including development of editors, compiler, databases, real-life and gaming application system, etc.
    C++ is a superset of C. Therefore, almost all C programs are also C++ programs. However, there are a few minor difference that will prevent a C program to run under C++ compiler. The most important facilities that C++ adds on to C are classes, inheritance, function overloading and operator overloading. These features enable the creation of abstract data types, inheritance and polymorphism. Thereby making C++ is a truly object-oriented language.

    The object-oriented features in C++ allow programmers to build large programs with clarity, extensibility and ease of maintenance, incorporating the spirit and efficiency of C. The addition of new features has transformed C from a language that currently facilitates the top-down, structured design that provides bottom-up, object-oriented design.

    Applications of C++:

  • C++ allows us to create hierarchy-related objects, we can build special object-oriented libraries which can be used later by many programmers.
  • C++ programs are easily maintainable and expandable. When a new feature needs to be implemented, it is very easy to add to the existing structure of an object.
  • While C++ can map the real-world problem properly, the C part of C++ gives the language the ability to get close to the machine-level details.
  • It is expected that C++ will replace C as a general-purpose language.

    Recommended Posts:

        1. Concepts of OOP
        2. C++ input output functions
        3. Data Types in C++
        4. Operators in C++
        5. C++ Control Statements | if-else, switch, for, while and do-while
        6. Call by Value and Call by Reference in C++
        7. Inline Function in C++
        8. Default Arguments in C++
        9. Function Overloading in C++
        10. C++ Program to Find Factorial of Number
        11. C++ Program to Solve Tower of Hanoi using Recursion