#ifndef DATEH #define DATEH #include using namespace std; #define JANUARY 1 #define FEBRUARY 2 #define MARCH 3 #define APRIL 4 #define MAY 5 #define JUNE 6 #define JULY 7 #define AUGUST 8 #define SEPTEMBER 9 #define OCTOBER 10 #define NOVEMBER 11 #define DECEMBER 12 class date { int year; int month; //JANUARY to DECEMBER inclusive int day; //1 to date_length[month] inclusive public: date(int initial_month, int initial_day, int initial_year); void next(int count = 1); //Go count days forward. void print() const {cout << month << "/" << day << "/" << year;} }; #endif