📜  C++库-

📅  最后修改于: 2020-12-15 04:20:45             🧑  作者: Mango


描述

它在标准的输入/输出流库中使用。

宣言

以下是iosstream函数的声明。

C++ 98

Including this header may automatically include other headers, such as ,
   , ,  and/or .

C++ 11

Including  automatically includes also , , ,
    and .

对象

iosstream的对象应该像这样-

窄字符(字符)

Sr.No. Characters Definition
1 cin Standard input stream
2 cout Standard output stream
3 cerr Standard output stream for errors
4 clog Standard output stream for logging

宽字符(wchar_t)

Sr.No. Characters Definition
1 wcin Standard input stream (wide)
2 wcout SStandard output stream (wide)
3 wcerr Standard output stream for errors (wide-oriented)
4 wclog Standard output stream for logging (wide)