请问这个该怎么做?用c++编写一个时间类time,并要求实现两个时间的加减要求用到友元函数
friend time operator+(time t1,time t2); friend time operator-(time t1,time t2);
具体参考如下:
参考: