C++ Introduction
C++ is an object-oriented programming language. It was developed by Bjarne Stroustrup at AT&T Bell Laboratories. It is superset (extension) of C programming language.
Depending upon features supported by programming languages, they are classified into two different categories:
Object-based programming language
The language that supports programming using objects is called object-based programming language. Important features of object-based programming languages are:
- Data encapsulation
- Data hiding
- Operator overloading
- Automatic initialization
Object-oriented programming language
Object-oriented programming supports the features of object-based programming along with inheritance and dynamic binding.
C++ fully supports object-oriented programming. To understand Object-Oriented programming, we need to know the concept of a major pillar of it:
- Object
- Class
- Data abstraction
- Encapsulation
- Polymorphism
- Inheritance
- Dynamic binding
- Message passing
C++ is not a pure object-oriented language. Object-oriented means working with object and class, but in C++ program can be written without using class.
C++ Usages
C++ program is applied in a large number of different sector. Some of them are as follow:
- Windows System
- Real-time system
- Object-oriented database
- Artificial Intelligence
- Device driver etc.