algorithms/adapters/member-adapter/point.h - The definition of Point - point.h. | Lecture 6 - slide 25 : 40 Program 6 |
class Point { private: double x, y; public: Point(double, double); Point(); double getx () const; double gety () const; void move(double, double); double distance_to(Point); void print(); };