![]() ![]() ![]() | Class Point with a destructor. | Lecture 3 - slide 9 : 36 Program 1 |
// Class Point with a destructor class Point { private: double x, y; public: Point(); Point(double); Point(double, double); Point(Point&); ~Point(); // Destructor double getx () const; double gety () const; }; std::ostream& operator<<(std::ostream&, const Point&);