Listing 8 Overloading << as an output operator for shapes

inline ostream &operator<<(ostream &os, const shape &s)
       {
       return s.put(os);
       }

// End of File