Posts

Showing posts from May, 2022

Objects in CPP

Image
 Objects in CPP Objects are runtime entities in an object-oriented system. Object can represent a person, place, car, mobile, television etc. Objects have two parts data and functions. 

Introduction to CPP

Image
  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 eas...