Point Class Impl File
// This is a implementation file for point4.h. It contains
// the body of the only long-ish function.
// Distance to another point. Pythagorean thm.
double Point::dist(Point other) const
double xd = xval - other.xval;
double yd = yval - other.yval;
return sqrt(xd*xd + yd*yd);
// Print points using the << operator, so they can be printed along with
// other data types.
ostream & operator<<(ostream &strm, Point p)