Introduction to C++. | C ++ का परिचय।

C++ Programming Tutorial

Introduction to C++

C ++ It is known as a middle-level language. C ++ was developed by Bjarne stroustrup. Because it is a combination of features of high level and low-level language.

C ++ is an object-oriented programming language. It was started at Bell laboratories of AT&T (American Telephone & Telegraph), located in the U.S.A in 1979 as an enhancement of the C language developed by Jar Sterpop. The original name of this language was Sea with Classes, which was changed to C ++ in 1983.

C ++ has been standardized by the International Organization for Standardization (ISO). C ++ programming language was standardized in 1998. And was later revised by the C ++ 03, C ++ 11 and C ++ 14 Standards.

It was developed to add a feature of OOP (Object Oriented Programming) to C without significant changes to the C component.

Object Oriented Principles in C++

The object-oriented principle to be used in the C ++ language is being described below.


Class is a user-defined data structure. And class is also like structure. In which we can create variables as well as functions. And later they are accessed by objects.


As I told you, Class is a user-defined structure. And the variables of the class are called objects. Through Object, you can access the variables and functions of the class.


Abstraction is such a part of object-oriented programming. In which the same functionality is given to the user. Which is important. For example, suppose you are driving a car, then you will only pay attention to clutch, gear, and steering, how the engine is working. It makes no sense to you. This functionality is only possible through Abstraction.


Encapsulation is an object-oriented programming feature. Data and functions are protected from outside access by encapsulation. The encapsulation provides us the protection of Public, Private, Protected. Whenever we make a class. So our class type is by default private.


Inheritance is the concept of object-oriented programming. In which a code can be used very easily by Inheritance elsewhere. For example, suppose you created a class. And you want to use the functions in that class in another class. So you can Inherit can do.


With polymorphism, you can perform many types of tasks from one function. Polymorphism is implemented by an overloading function in C ++. In which different operations are performed by a function.

Message Passing

Message passing is a type of communication between procedures. Parallel programming and object-oriented are a form of communication used in programming.

Programming languages that were developed before the C ++ language.

Language Year Developed By



International Group



Martin Richard



Ken Thompson

Traditional C


Dennis Ritchie

K & R C


Kernighan & Dennis Ritchie



Bjarne Stroustrup