📄 clog.cpp
字号:
// clog -- initialize standard log stream
#include <fstream>
#include <iostream>
#ifndef MRTDLL
#pragma warning(disable: 4074)
#pragma init_seg(compiler)
static std::_Init_locks initlocks;
#endif
_STD_BEGIN
// OBJECT DECLARATIONS
__PURE_APPDOMAIN_GLOBAL static filebuf flog(_cpp_stderr);
#if defined(_M_CEE_PURE)
__PURE_APPDOMAIN_GLOBAL extern ostream clog(&flog);
#else
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 ostream clog(&flog);
#endif
// INITIALIZATION CODE
struct _Init_clog
{ // ensures that clog is initialized
__CLR_OR_THIS_CALL _Init_clog()
{ // initialize clog
_Ptr_clog = &clog;
clog.tie(_Ptr_cout);
}
};
__PURE_APPDOMAIN_GLOBAL static _Init_clog init_clog;
_STD_END
/*
* Copyright (c) 1992-2007 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
V5.03:0009 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -