C++头文件<iostream>包含哪些系统方法
3个回答
展开全部
Header <iostream> synopsis
namespace std {
extern istream cin;
extern ostream cout;
extern ostream cerr;
extern ostream clog;
extern wistream wcin;
extern wostream wcout;
extern wostream wcerr;
extern wostream wclog;
}
1 The header <iostream> declares objects that associate objects with the standard C streams provided for
by the functions declared in <cstdio> (27.8.2).
2 Mixing operations on corresponding wide- and narrow-character streams follows the same semantics as
mixing such operations on FILEs, as specified in Amendment 1 of the ISO C standard. The objects are
constructed, and the associations are established at some time prior to or during first time an object of class
ios_base::Init is constructed, and in any case before the body of main begins execution.264) The
objects are not destroyed during program execution.265)
namespace std {
extern istream cin;
extern ostream cout;
extern ostream cerr;
extern ostream clog;
extern wistream wcin;
extern wostream wcout;
extern wostream wcerr;
extern wostream wclog;
}
1 The header <iostream> declares objects that associate objects with the standard C streams provided for
by the functions declared in <cstdio> (27.8.2).
2 Mixing operations on corresponding wide- and narrow-character streams follows the same semantics as
mixing such operations on FILEs, as specified in Amendment 1 of the ISO C standard. The objects are
constructed, and the associations are established at some time prior to or during first time an object of class
ios_base::Init is constructed, and in any case before the body of main begins execution.264) The
objects are not destroyed during program execution.265)
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
一些标准的输入输出类
cin
cout
........
cin
cout
........
追问
能不能再具体一点,要写论文~~谢了
追答
自已看一下VC 目录下的 Include文件夹下的 IOSTREAM 文件
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
去MSDN吧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |