📅  最后修改于: 2020-12-15 04:20:45             🧑  作者: Mango
它在标准的输入/输出流库中使用。
以下是iosstream函数的声明。
Including this header may automatically include other headers, such as ,
, , and/or .
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 |
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) |