C++ 常用的四个流是什么

来源:百度知道 编辑:UC知道 时间:2024/05/30 21:24:31
好像是CIN COUT,后面忘了

cin,cout,cerror和clog

你那是输入输出的控制台。
还有文件流ofstream、ifstream.
还有字符串流stringstream.

流 头文件<stream>
标准输入流 头文件<iostream> 流cin,cout
文件流 头文件<fstream><ifstream><ofstream>
字符串流 头文件<sstream>

intput,output