| Class Point - with a pointer representation . | Lecture 3 - slide 10 : 36 Program 1 |
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&);