October 1997
Intermediate to advanced
800 pages
20h 48m
English
| 1: | Add classes House, MotorCycle, and AirPlane to the OMT diagram in Figure 14.3 on page 675. Where would multiply-derived SeaPlane fit in? Is this the same pattern? Should class Vehicle be a virtual base? |
| 2: | Suppose you invoke the following function with a MotorHome object.void lfunc(LandVehicle &); // prototype MotorHome mh(30, 120); // create MotorHome object lfunc(mh); // invoke function What sort of conversion, if any,
|