Lecture 4 - slide 12 : 40 |
// Redoing the example - same header file as the previous version.
class Point {
private:
double *point_representation;
public:
Point();
Point(double, double);
~Point(); // Destructor
double getx () const;
double gety () const;
};
std::ostream& operator<<(std::ostream&, const Point&);