// II17 2005-06 // Tema2/Problema-Region/Punto2D.h // 07-12-2005 // Ejercicio del Tema 2: problema 1 del examen del 03-02-2003 #ifndef _PUNTO_H #define _PUNTO_H #include using namespace std; class Punto2D { int x, y; public: Punto2D (int = 0, int = 0); bool operator== (Punto2D) const; friend ostream & operator<< (ostream &, Punto2D); friend istream & operator>> (istream &, Punto2D &); }; #endif