01: #include <iostream> 02: using namespace std; 03: 04: #include "ccc_time.h" 05: 06: int main() 07: { Time wake_up(9, 0, 0); 08: wake_up.add_seconds(1000); /* a thousand seconds later */ 09: cout << wake_up.get_hours() << ":" << wake_up.get_minutes() 10: << ":" << wake_up.get_seconds() << "\n"; 11: 12: return 0;
13: }