#include #include #include class Time { public: Time():Hour(0),Minute(0),Second(0){} Time(int h,int m,int s):Hour(h),Minute(m),Second(s){} Time (Time&t):Hour(t.Hour),Minute(t.Minute),Second(t.Second){} Time& Add(Time&); Time& Sub(Time&); friend Time& operator+( Time&, Time&); friend Time& operator - (Time&, Time&); void operator ++();//自增1秒(按两种结合形式) void operator -- ();//自减1秒(按两种结合形式) void operator ++(int);//自增1秒(按两种结合形式) void operator -- (int);//自减1秒(按两种结合形式) void Display() {cout<