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

  • Classes
  • Inheritance
  • Data Abstraction & Encapsulation
  • Polymorphism
  • Dynamic Binding
  • Message Passing
  • bjarne

    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++:

    1. C++ allows us to create hierarchy-related objects, we can build special object-oriented libraries which can be used later by many programmers.
    2. 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.
    3. 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.
    4. 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. Control Statements in C++ with Examples
        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++ with Example
        10. C++ Program to Find Factorial of Number
        11. C++ Program to Solve Tower of Hanoi using Recursion
        12. C++ Classes and Objects
        13. Member Functions of C++ Classes
        14. C++ Program to Find 1’s Complement of a Binary Number
        15. Static Data Members in C++
        16. Static Member Functions in C++
        17. C++ Friend Functions
        18. C++ Program to Add Two Numbers using Friend Function
        19. C++ Program to Swap Two Numbers using Friend Function
        20. Pointers to Class Members in C++
        21. Types of Constructors in C++
        22. Destructors in C++
        23. Types of Operator Overloading in C++
        24. Type Conversion in C++
        25. Inheritance in C++
        26. Virtual Base Class in C++
        27. Abstract Classes in C++
        28. Types of Pointers in C++
        29. Polymorphism in C++
        30. Virtual Function in C++ with Example Program
        31. Pure Virtual Function in C++ with Example Program
        32. Types of Templates in C++
        33. File Stream Classes in C++
        34. C++ Program to Read and Write a Text File
        35. Sequential File Organization in C++
        36. C++ Program to Read and Write a Binary File
        37. C++ Program to Count The Number of Objects a File
        38. C++ Command Line Arguments Filename
        39. C++ Stream Classes
        40. Unformatted I/O Operations in C++
        41. Formatted I/O Operations in C++
        42. C++ Manipulators
        43. Exception Handling in C++