Object Oriented Programming Approach in C++