// Definizione Classe DATE #ifndef DATE_H #define DATE_H #include using std::ostream; using std::istream; class Date { friend istream& operator>>(istream&, Date&); friend ostream& operator<<(ostream&, const Date&); public: Date(int m=0, int d=0, int y=0); void setDate(int m, int d, int y) { month = m; day = d; year = y;} private: int month, day, year; }; #endif // DATE_H