Back to slide -- Keyboard shortcut: 'u'  previous -- Keyboard shortcut: 'p'                algorithms/adapters/member-adapter/point.h - The definition of Point - point.h.Lecture 5 - slide 39 : 39
Program 5

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();
};