Description: Designs clock class Clock. Data member including hour (hour), minute (minute), second (second). The request realizes following function with the member function:
(1) founds has assigns the clock (hour, minute, second) the Clock object, tacitly approves the clock is 00:00:00.
(2) dynamic establishes, divides, the second.
(3) presses on the screen “time: Minute: Second” form demonstration clock.
(4) tests this kind in the main function.
To Search:
File list (Check if you may need any files):
clock
.....\新建 文本文档.txt
.....\新建文件夹