#ifndef DATE_H #define DATE_H //This is the header file for class date. class date { private: //Members of class are private by default, so we don't need this label. //Declarations for data members of class date: int year; int month; //in the range 1 to 12 inclusive int day; //in the range 1 to 31 inclusive static const int length[]; //declaration for static data member public: //Declarations for member functions of class date. Now there are 7: date(int init_month, int init_day, int init_year); //constructor date(); //new default constructor static int monthsInYear(); //static member function void print() const; //const member function void next(int n); //non-const member function void next(); void prev(int k); //new non-const member function void prev(); }; #endif