Chapter 9. Stocking Up
We're going to continue our investigation of C++ concepts and practices by revisiting the inventory control example from Chapter 6. We'll build on the StockItem class that we created there by using one of the primary organizing principles of C++ that we haven't encountered before: inheritance. First, let's define this term and a few others that we'll be using in this chapter; then we'll take a look at the objectives.
Get Learning to Program in 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.