Skip to Main Content
Practical C++
book

Practical C++

by Rob McGregor
August 1999
Beginner to intermediate content levelBeginner to intermediate
912 pages
15h 44m
English
Que
Content preview from Practical C++

Chapter 22. Implementing Class Inheritance

<feature>
  • 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

</feature>

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, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C++ Programming, 2nd Edition

Practical C++ Programming, 2nd Edition

Steve Oualline
C++ Cookbook

C++ Cookbook

D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell

Publisher Resources

ISBN: 0789721449Purchase book