// Examine this file for an example of another class that uses // the vehicle class and adds to it. Of course, it adds different // things to it, because it will specialize in those things that // pertain to trucks. In fact, it adds two more variables and three // more methods. #ifndef TRUCK_H #define TRUCK_H #include "vehicle.h" class truck : public vehicle { int passenger_load; float payload; public: void init_truck(int how_many = 2, float max_load = 24000.0); float efficiency(void); int passengers(void); }; #endif