Description: Defined as time classes TimeType, required to complete each member function and write the main function for authentication. class TimeType {int h, m, s public: TimeType (int h0 = 0, m0 = 0, s0 = 0) //Constructor void increSec (int sec) //add several seconds void increMin (int min) //increase the number of minutes void increHou (int hou) //add several hours bool equal (TimeType t2) //judge two times are equal void printTime () // output time object, hour}
To Search:
File list (Check if you may need any files):
time type.cpp