Chapter 22. Implementing Class Inheritance
Understand base and derived classes
See how to create class hierarchies
Discover how to override base class functions
Learn about friend classes and functions
See how to create binary class libraries
Understanding Base and Derived Classes
The object-oriented programming paradigm is based on the concept of object hierarchies that are created through inheritance. In this system, a simple base class acts as a foundation on which you can build more complex classes. The resulting classes can then act as the foundation for even more complex classes, and so on. A class that’s built from an existing class, to extend its capabilities in some way, is called a derived class.
Inheritance
In C++ programming, ...
Get Practical C++ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.