Home Segments Index Top Previous Next

578: Practice

Further overload the output operator such that iconic train displayed by the program in Segment 576 looks like the following example:

-[box]-[box]-(tank)-[caboose]