The following is a definition of the box_car
class augmented to
include the definition of a member function that displays the short name
associated with that class:
class box_car : public railroad_car, public box { public: // Constructor: box_car ( ) { } // Displayer: void display_short_name ( ) {cout << "box";} };