C++ is a programming language. It was first seen in the year 1980’s.C++ is an object oriented programming language it has more advantages and benefits then the simple C language. There are C++ definitions’ and compilers which have made the object oriented programming simpler and much easier. C++ is now the world’s most contemporary mini and micro computer applications are written. It was initially developed in the AT&T’S laboratories whose first version was BCPL of what later came to be known as the C language and then further with more modifications and modulations in the same language it later came to be known as the C++.
C++ is an program oriented programming language with the object oriented extensions.
C Vs The C++:
C language is always preferred to be the subset of the advanced C language. As C++ is preferred to be the superset of the basic C language the C++ programs should be able to compile debug as well as run all the C programming codes and the procedures. C++ is added with more advance features of the basic c language .It has more keywords then the C language. C++ is also referred more than the basic C language because it is been prescribed by the computer programming professionals that the C++ may replace the first C language in the coming future years or in some decades.
Object Oriented Programming Language:
The main focus in the OOP is on the actual data than the procedure. Programs are divided into smaller units then the original code which are further known to be the objects. The main advantage of the Object Oriented Programming is that the data can be hidden using the special access specifies like the protected private and public which have different meanings as per their wording itself. They cannot be accessed externally by any of the codes.
Procedure Oriented Programming Language:
The main focus is on the entire procedure or the execution or the flow of the program .functions is the small units of the programming which are actually the smallest unit of our program. The data moves openly around the entire program that means whose lifetime unit is throughout the program as well as also outside the program which sometimes caused anomaly that is duplications. Functions may transform their own data from one function to another function. It used an top down approach to design any of their programming algorithms (it is a set of précised steps to perform the program in a proper manner.)
Examples of the Object oriented programming are :
Examples of the procedure oriented programming are:
The basic concepts on a C++ language that is an object oriented programming are:
- Data Abstraction & Encapsulation
- Dynamic Binding
- Message Passing
Some of the features of the C++:
– It provides overloading of function.
-it provides overloading of functions.
-Inheritance is the most powerful concept of the C++ Language.