Category : C++ Source Code
Archive   : CPPTUT22.ZIP
Filename : CLOCK.H

 
Output of file : CLOCK.H contained in archive : CPPTUT22.ZIP
// This is the game clock. It increments once for every
// move, the increment being accomplished in the method
// named inc_and_print_time.

#ifndef CLOCK_H
#define CLOCK_H

class clock {
int hour;
int minute;
public:
clock(void);
int present_hour(void) {return hour;}
int present_minute(void) {return minute;}
void inc_and_print_time(void);
};

#endif



  3 Responses to “Category : C++ Source Code
Archive   : CPPTUT22.ZIP
Filename : CLOCK.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/