C ++ का परिचयC ++ एक ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग लैंग्वेज है। C ++ को Bjarne Stroustrup द्वारा विकसित किया गया था। C ++ में आने से पहले, c और Simula 67 दो लोकप्रिय भाषाएँ थीं। ब्रेज़ेन स्ट्रॉस्ट्रुप दोनों भाषाओं के साथ मिलकर ऐसी भाषा बनाना चाहता था, जिसमें ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग की सभी विशेषता
C ++ was developed in Bell Labs in 1979. C ++ is a middle level language. Features high level and low level languages All features of C language are found in C ++ There are 3 important features of C ++ object oriented Low level easy to learn Use of C ++ C ++ is used and how you can use it, let's try it out. C ++ is the most commonly used software. Such as C ++ is used to create a device driver. This is a multipurpose language You can use it to crack big software Today C ++ is mostly used for education purposes. Because the features of all major languages have been taken from C ++ If you understand C ++ then you can easily understand other languages as well. The extension of the C ++ c language Therefore, all those software that can be created in C ++ too. If you want to work on the lower level as well as the highest level then you are using C ++ Mostly, as is new programming language, it does not openly support the pointer. If you want to create software using the indicator, you can use C ++ Object-oriented principle Further information about object-oriented theory to be supported by C ++ is explained further. class Class is a user-defined data type This is similar to the structure in the same language. But in sections you can do changes related to changes as well as those related to them. A class provides a data-centric approach to programmers. By the class you can separate the variable and related tasks. More about this you learn from the C ++ - class and object tutorials. The objects As you know, Class is a user-defined data type The class By object you can access the squares and functions of the square. Abstraction Abstraction means that the end user should be the same functional show, which needs to be hased, hidden background functionality For example, when you drive a car, you only focus on clutch, gear and steering, you have no sense in how the engine is working. encapsulation In other words Encapsulation Encapsulation is a one-object oriented programming feature that binds data members (variables) and related tasks such as in the class. Also, encapsulation is protected from access to outside data and functions. Encapsulation property provides protection for level 3 (public, private, protected) Encapsulation is implemented through the classes Inheritance Inheritance Object Oriented Programming Concept In which one code can be used elsewhere This principle code re-usable implementation For example, you can do the work that has been created in a class in the second category, so that you do not need to re-write these tasks. And you will be able to access them from both classes. Polymorphism Polymorphism means a name has many functions. In it you have to implement many types of tasks with one name. Polymorphous work in C ++ is implemented by overloading in which the functions of a name are executed in different situations Messaging In object-oriented programming, objects interact with each other, from which shows the real-life situation. A sample C ++ program # <iostream> INT main () { cout << "Hello Reader"; Return 0; } This example is being specified below. The header file is included in the first row. You need this header file After the start of the program Simple message has printed through the cout function Work is refunded by return statement The program given below was produced and produced. Hello reader In this tutorial, you have learned about C ++ history, applications and different features. Data is important in any program Only all operations are performed on data Before you start programming in C ++, you need to know about various data types of C ++