C++程序设计: 设计一个时间类Time,要求如下:

日期:2017-05-28 10:26:13 人气:1

C++程序设计: 设计一个时间类Time,要求如下:

#includeusing namespace std;class Time{ public: Time(void); Time(int hour,int minute,int second); Time operator +(const Time &time); Time operator -(const Time &time); friend ostream& operator >(istream& in,const Time &time); priva
    A+
热门评论