#ifndef FASTDATEH #define FASTDATEH #include "date.h" class fastdate: public date { int year; int month; //date::january to date::december inclusive int day; //1 to length[month] inclusive void print(ostream& ost) const { ost << month << "/" << day << "/" << year; } public: fastdate(int initial_month, int initial_day, int initial_year) : date(initial_month, initial_day, initial_year), year(initial_year), month(initial_month), day(initial_day) {} fastdate& operator++(); fastdate& operator+=(int count); }; #endif