//This file is leapdate.h. #ifndef DATEH #define DATEH #include "date.h" using namespace std; class leapdate: public date { int length(); void install(int m, int d, int y); public: leapdate(int initial_month, int initial_day, int initial_year) { : date(initial_month, initial_day, initial_year); } leapdate(): date(); //can remove this line leapdate& operator++(); leapdate& operator--(); }; #endif