testcomm.h
来自「伯克利做的SFTP安全文件传输协议」· C头文件 代码 · 共 30 行
H
30 行
// 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 + =
减小字号Ctrl + -
显示快捷键?