#ifndef DATE_H #define DATE_H #include class Date { public: Date(int y, int m, int d); bool is_leap_year() const; int days_in_month() const; void next_date(); friend std::ostream& operator<<(std::ostream & os, Date const& d); private: int year; int month; int day; }; #endif