Back to slide -- Keyboard shortcut: 'u'        next -- Keyboard shortcut: 'n'          destructors/point.h - Class Point with a destructor.Lecture 4 - slide 11 : 40
Program 1

// Class Point with a destructor

class Point {
private: 
  double x, y;

public:
  Point();                 
  Point(double);    
  Point(double, double);    
  Point(const Point&);           
  ~Point();                // Destructor

  double getx () const;
  double gety () const;
};

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