// Point.h #ifndef POINT_H #define POINT_H #include using namespace std; class Point { public: Point( int = 0, int = 0 ); // construttore di Point void setPoint( int, int ); // set coordinate int getX() const; // get coordinata x int getY() const; // get coordinata y protected: // permette l'accesso alle classi derivate int x, y; // coordinate x e y del punto }; ostream &operator<<( ostream &, const Point & ); #endif