// clock.h // Definition for class Clock. #ifndef CLOCK_H #define CLOCK_H class Clock { public: Clock(); // constructor ~Clock(); // destructor void tick(); // increment clock by one second int getTime() const; // returns clock's current time private: int time; // clock's time }; #endif // CLOCK_H