introduction to c++

Hello Everyone! Let's gets started with c++.....
As we all know that c++ is by far the most widely used language in the world. It works on Object-Oriented Programming approach. OOP has become the most preferred programming by the software industries. It was created by Bjarne Stroustrup in 1980s, and after that c++ has undergone many improvements. The language was standardized in  1998 by the American National Standards Institute(ANSI).



    Object-Oriented Programming(OOP) approach was invented to remove some of the pitfalls in conventional programming approach and procedural programming approach. Some of the attracting in characteristics of Object Oriented Programming(OOP) is as follows:-
1. In OOP, Emphasis is on data rather than procedure.
2. In OOP, Data Structures are designed such that they characterize objects.
3. In OOP, Functions that operate on the data of an object are tied together in the Data Structure.
4. In OOP, Data can be easily hidden using access specifier and cannot be accessed by an external function.
C++ language is mostly influenced by simula67(It was the first Object Oriented Programming language). And it follows the Bottom-Up approach in programming approach.

Features of Object Oriented Programming (OOP) are as follows:-
1. Object                                                                        2. class
3. Data hiding and encapsulation                                  4. Dynamic Binding
5. Inheritance                                                                 6. Polymorphism
7. Message passing

1. Object- In the class-based Object-Oriented Programming language, Object is an instance of the class where it can be the combination of variables, functions, and data structures.

2. Class- In the class-based Object-Oriented Programming language, The entire set of data and code of an object can be made a user-defined data type with the help of a class. Objets are the variables of class and we can create as many objects as we want in the program.

3. Data hiding- Data hiding is a software development technique specifying used in OOP to hide internal object details i.e data-members. Data hiding ensures exclusive data access to class members and protects object integrity by preventing unintended or intended changes.

4. Encapsulation- Encapsulation is a process of wrapping data inside a function or method. This process is used to hide the internal structure of any program. Encapsulation may be seen as a way of achieving data hiding in the OOP approach.

5. Dynamic Binding- Binding refers to the process of converting functions and variables into machine language addresses. C++ supports two type of dynamic binding: static or early binding and dynamic or late binding.

6. Inheritance- It is one of the core features of OOP language as it allows a software developer to derive a new class from an existing class. It is the process by which object of one class acquires the characteristics/properties of the object of another class.

7. Polymorphism- Polymorphism means having many forms. C++ polymorphism means that a call to a member function will cause different functions to be executed depending on the type of objects that invokes the function.

8. Message Passing- Message passing is a technique for invoking behavior on a computer. The invoking program sends a message to a process and relies on the process and supporting infrastructure to select and invoke the actual code to run.


In further subsequent blogs, we'll see the basic programming implementations in c++.