Object Oriented Programming (OOP) in C++

  1. As the name suggests, it brings the use of "objects" in programming. Basically, they are some guidelines for running efficient programs. Let me explain the difference between tradition style and OOP style of programming with an example: Traditional: running(); // we don't know who's running. OOP: Jack.running(); // here we know who's running. Jack is the object here.
  2. The main aim of OOP is to bind together the data and functions that work on them, so that no other part of the code can access the data, except that function.