📄 output.h
字号:
#pragma once
#include "Globe.h"
class output
{
protected:
output(void)
{
}
public:
virtual ~output(void)
{
}
// a custom error reporter, we just display the error message on std out.
static void write(const string& msg)
{
#ifdef OUTPUT_ENABLE
cout << msg;
#endif
}
static void writeln(const string& msg)
{
#ifdef OUTPUT_ENABLE
cout << msg << endl;
#endif
}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -