1. C++使用标准库类来处理面向流的输入和输出: iostream 处理控制台IO; fstream处理命名文件IO; stringstream完成内存string 的IO; 2. IO对象无拷贝或赋值 ……