Checking the Inventory
That concludes our tour of the HomeUtility class. Now it's time to look at the changes to the next class, HomeInventory. We'll start with the latest der file, hmin8.cc, shown in Figure 13.13.
Figure 13.13. The latest header file for the HomeInventory class(code\hmin8.h)
As you will see if you compare this version of the HomeInventory class interface to the previous one we examined (hmin6.h in Figure 12.13), I've deleted three functions from this interface-namely, FindItemByDescription, FindItemByName, and LocateItemByName. The first of these is no longer used in the application program, which instead uses its relative, ...
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.