Back to slide -- Keyboard shortcut: 'u'        next -- Keyboard shortcut: 'n'          self-reference/point.h - Class Point - almost the usual header file.Lecture 4 - slide 28 : 40
Program 1

class Point {
private: 
  double x, y;

public:
  Point(double, double);
  Point();
  double getx () const;
  double gety () const;
  Point* move(double, double);    // move returns this
  double distance_to(Point);
};

std::ostream& operator<<(std::ostream&, const Point&);