#ifndef DATE_H #define DATE_H //This is the header file for class date. class date { //Declarations for data members: int year; int month; //in the range 1 to 12 inclusive int day; //in the range 1 to 31 inclusive static const int length[]; //static data member public: //Declarations for member functions: date(int init_month, int init_day, int init_year); //constructor date(); //default constructor void print() const; //const member function void next(int n); //non-const member function void next(); }; #endif