📄 testcomm.h
字号:
// testcomm.h// some common code for testing modules// copyright SafeTP Development Group, Inc., 2000 Terms of use are as specified in license.txt#ifndef __TESTCOMM_H#define __TESTCOMM_H#error obsolete; use test.h instead#define PVAL(val) cout << #val << " = " << (val) << endl#include "minwin.h" // GetTickCount#include <iostream.h> // coutclass TimedSection { char const *name; long start;public: TimedSection(char const *n) : name(n) { start = GetTickCount(); } ~TimedSection() { cout << name << ": " << (GetTickCount() - start) << " msecs\n"; }};#endif // __TESTCOMM_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -