#include ; #include "Point.h"; #include "ColorPoint.h"; #include "output.h"; ostream & operator<<(ostream & out, const Point & p) { p.print(out); return out; // why? so that we can cascade << } ostream & operator<<(ostream & out, const ColorPoint & cp) { cp.print(out); return out; }