Description: Define a time type Time, the class has three data members (Hour, Minute, Second) and two member functions (SetTime and PrintTime). SetTime according to three parameters passed to the object to set the time PrintTime will object that the time for display output. In the main function defined in a time of class objects, set the time of 9:20:30 and displays the time.
To Search:
File list (Check if you may need any files):
a.doc