📄 out.h
字号:
//=======================================================================// Out.h//-----------------------------------------------------------------------// This file is part of the package paco// Copyright (C) 2004-2007 David Rosal <david.3r@gmail.com>// For more information visit http://paco.sourceforge.net//=======================================================================#ifndef PACO_OUT_H#define PACO_OUT_H#include <iosfwd>namespace Paco {class Out{ public: enum { QUIET, VERBOSE, DEBUG }; Out(); int& verbosity() { return mVerbosity; } static int screenWidth(); void vrb(std::string const&, int __errno = 0); void dbg(std::string const&, bool printProgName = true); void dbgTitle(std::string const& title); class Silencer { public: Silencer(); ~Silencer(); private: int mOldVerbosity; }; private: int mVerbosity;};} // namespace Paco#endif // PACO_OUT_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -