Contents
Section 15.2 Defining Base and Derived Classes
Section 15.3 Virtual Functions
Section 15.4 Abstract Base Classes
Section 15.5 Access Control and Inheritance
Section 15.6 Class Scope under Inheritance
Section 15.7 Constructors and Copy Control
Section 15.8 Containers and Inheritance
Section 15.9 Text Queries Revisited
Object-oriented programming is based on three fundamental concepts: data abstraction, which we covered in Chapter 7, and inheritance and dynamic binding, which we’ll cover in this chapter.
Inheritance and dynamic binding affect how we write our programs in two ways: They make it easier to define new classes that are similar, but not identical, to other classes, ...
Get C++ Primer, Fifth Edition 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.