我想知道VC6把标准库的代码放在哪了?比如iostream
我想看看标准库的代码。
我想看看标准库的代码。
解决方案 »
- VC能否做一个可以由用户更改背景图片的动态按钮.
- spy++中的找窗口功能如何实现?
- 请教,怎么用MFC模板生成一个不需要Doc、Frame和View类的应用程序
- 求和问题,在求空记录的和时出现问题
- 如何用twain接口设置扫描仪的扫描尺寸,分辩率,图像类型等信息
- 一个急于解决的问题,请各位高手拔刀相组助!
- asp中使用com返回参数的简单问题~~!急急急,高分容易拿
- 怎么回事??error LNK2019: 无法解析的外部符号__imp___invalid_parameter_noinfo
- 刚刚工作问一个关于视图分割的问题
- CWinApp _afxOleWinApp;是做什么的?
- 请问完成端口为什么多出6个线程
- 用Istallshield6.3的Project Wizard生成的空安装程序有1.2M,怎么这么大?(***两个帖子共150分***)
*iostream.h - definitions/declarations for iostream classes
*
* Copyright (c) 1990-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
* This file defines the classes, values, macros, and functions
* used by the iostream classes.
* [AT&T C++]
*
* [Public]
*
****/#if _MSC_VER > 1000
#pragma once
#endif#ifdef __cplusplus#ifndef _INC_IOSTREAM
#define _INC_IOSTREAM#if !defined(_WIN32) && !defined(_MAC)
#error ERROR: Only Mac or Win32 targets supported!
#endif
#ifdef _MSC_VER
// Currently, all MS C compilers for Win32 platforms default to 8 byte
// alignment.
#pragma pack(push,8)#include <useoldio.h>#endif // _MSC_VER
/* Define _CRTIMP */#ifndef _CRTIMP
#ifdef _DLL
#define _CRTIMP __declspec(dllimport)
#else /* ndef _DLL */
#define _CRTIMP
#endif /* _DLL */
#endif /* _CRTIMP */
typedef long streamoff, streampos;#include <ios.h> // Define ios.#include <streamb.h> // Define streambuf.#include <istream.h> // Define istream.#include <ostream.h> // Define ostream.#ifdef _MSC_VER
// C4514: "unreferenced inline function has been removed"
#pragma warning(disable:4514) // disable C4514 warning
// #pragma warning(default:4514) // use this to reenable, if desired
#endif // _MSC_VERclass _CRTIMP iostream : public istream, public ostream {
public:
iostream(streambuf*);
virtual ~iostream();
protected:
iostream();
iostream(const iostream&);
inline iostream& operator=(streambuf*);
inline iostream& operator=(iostream&);
private:
iostream(ios&);
iostream(istream&);
iostream(ostream&);
};inline iostream& iostream::operator=(streambuf* _sb) { istream::operator=(_sb); ostream::operator=(_sb); return *this; }inline iostream& iostream::operator=(iostream& _strm) { return operator=(_strm.rdbuf()); }class _CRTIMP Iostream_init {
public:
Iostream_init();
Iostream_init(ios &, int =0); // treat as private
~Iostream_init();
};// used internally
// static Iostream_init __iostreaminit; // initializes cin/cout/cerr/clog#ifdef _MSC_VER
// Restore previous packing
#pragma pack(pop)
#endif // _MSC_VER#endif // _INC_IOSTREAM#endif /* __cplusplus */
如果你要看源代码,用记事本的方式打开iostream文件就可以了!