C++ has an advantage over C, which is the primary reason why C became obsolete. The concept of Object Orientation is the missing link which connects or enhances our programming approach more towards the real world.
Classes - Let me take an example to explain the concept of classes: Let us assume "Audi" is launching its brand new model from the "A series". So "Audi" can be considered as a CLASS which has some models(A2, A4) as existing models and let us suppose the new model is named as "A25".
Here A2, A4, A25 are the OBJECTS.
Audi as a class may have features like Automatic gear shift, Power window, sunroof etc. which are the common attributes among all the models(A2, A4, A25). So all the object of CLASS "Audi" are using these common attributes + some additional attributes of their own. So basically a class can be defined as a bunch of functionalities which are common among the objects of that class.
Here are the five basic Properties of an object-oriented system:
1) Data Abstraction
2) Data encapsulation
3) Modularity
4) Polymorphism
5) Inheritance