Modify the program in Segment 655 such that each railroad car
has as a short_name
member variable. Then, redefine the constructors
and short_name
member function so as to make use of the new
variable. Also, modify the appropriate destructor so that no garbage is
left lying around.