cerrinit.cpp

来自「C标准库源代码,能提高对C的理解,不错的哦」· C++ 代码 · 共 24 行

CPP
24
字号
/***
*cerrinit.cpp - definitions and initialization for predefined stream cerr.
*
*       Copyright (c) 1991-1997, Microsoft Corporation.  All rights reserved.
*
*Purpose:
*       Definitions and initialization of predefined stream cerr.
*
*******************************************************************************/
#include <cruntime.h>
#include <internal.h>
#include <iostream.h>
#include <fstream.h>
#include <dbgint.h>
#pragma hdrstop

// put contructors in special MS-specific XIFM segment
#pragma warning(disable:4074)   // ignore init_seg warning
#pragma init_seg(compiler)

ostream_withassign cerr(_new_crt filebuf(2));

static Iostream_init  __InitCerr(cerr,1);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?