Introduction to CPP

 What is C++

                        C++ or CPP is the extension of C programming language. It is developed by Bjarne Stroustrup in the early 1980s. CPP introduced Object orient programming principles. 


Object Oriented Programming 

                        OOP treats data as important in the process of program development and combine it with the functions. Object is made up by data and functions. Data in the object can only be accessed through functions. 

*Features of OOP

1. Emphasis on data not on procedure or functions

2. Programs are divided into objects

3. Data structures are designed for Objects. 

4. Functions are tied together in data structure with objects. 

5. Data is hidden

6. Objects can communicate with each other through functions. 

7. New objects can be easily added. 

8. follows bottom-up approach. 



Basic Concepts of Object-Oriented Programming

1. Objects

2. Classes

3. Data abstraction and encapsulation

4. Inheritance

5. Polymorphism 

6. Dynamic binding

7, Message Passing  


Comments