Object-oriented programming
C++ is one of the pioneering languages that adopted object-oriented principles. This approach facilitates the modeling of real-world entities and relationships, making software design more intuitive.
class Car {
public:
void drive() {
cout << "Driving!";
}
};