?? stowatch.h
字號(hào):
// stowatch.h stopwatch class#ifndef stowatch_h#define stowatch_h #include <sys/types.h>#include <sys/timeb.h>class Stopwatch { timeb starttime, stoptime; enum watchstate { undefined, halted, running} state; public: Stopwatch() { state = undefined;} void start(); void stop(); double duration();};#endif// end of stowatch.h
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -