//File: Point.h Author: RJBotting #ifndef POINT_H #define POINT_H //Purpose: Demo of a dumb class modeling points on a 2 dimensional plan. #include using std::cout; class Point { public: double x; double y; Point(double x0, double y0) { x=x0; y=y0; } void print() { cout << "Point(" << x << ", " << y << ")";} };//Point #endif