Introduction to cpp :
C++ is general purpose programming language. Cpp programming : It is middle level language.
It is developed by bjarne stroupstrup in AT & T bell laboratory in USA.
It is object oriented programming language.
In OOP language everything is based on object. It is a programming model or paradigm.
c++ is case sensitive language.
Object : It is an entity
Encapsulation : Wrapping of the data into single unit is known as encapsulation.
Abstraction : Abstraction means bidding of the data.
Inheritance : Deriving new class from base class is called aa inheritance.
Polymorphism : It means having one name with multiple form.
Features of object oriented programming
1. Emphasis is on data rather than procedure.
2. Programs are divided into what are known as objects.
3. Data structure are designed such that they characterized the object.
4. Function that operate on the data of an object are tied together in the data structure.
5. Data is hidden and cannot be accessed by external function.
6. Objects may communicate with each other through function.
7. Implies bottom up approach in program design.
8. New data and functions can be easily added whenever necessary.
Characteristics of object oriented programming
1. Objects are basic run time entity in cpp.
2. The data type of class are abstract data type.
3. Function is method to access the private data which belongs to same class .
4. It can encapsulate the data .
5. C++ strongly support re usability things.
6. Object may communicate with one another with the help of message passing.
7. Polymorphism is also main characteristics of oop which provides function overloading and operator overloading.
8. Abstract which hides the unnecessary information and gives necessary information.