?? millisec.h
字號:
// capture interrupts and change time resolution
// Usage: put these three statements in your c plus plus source file
//#include "millisec.h"
//unsigned breakflag;
//long clockticks;
//
// declare an arbitrary object of class millisec in main:
//millisec x;
//
// link your C Plus Plus program with millisec.obj
// or compile it with millisec.cpp
// be sure to use the same memory model for each.
// breakflag and clockticks are initialized to zero.
//breakflag and clockticks may be reset to zero at any time.
//breakflag increments when ctrl-c or ctrl-break is detected.
//clockticks increments by one millisecond intervals.
#ifndef MILLISEC
#define MILLISEC
class millisec {
void interrupt (far *oldint27) (...);
void interrupt (far *oldint35) (...);
public:
millisec ();
~millisec ();
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -