/*ca72a_c++_标准IO库:面向对象的标准库 继承:基类-》派生类 3个头文件 9个标准库类型 IO对象不可复制或赋值
ofstream, f--file,文件输出流 ostringstream,o--输出,string字符串输出流 iostream--输入输出流
istringstream,i-输入,string字符串输入流 ifstream,i--输入,f--file,文件输入流
stringstream--字符串输入输出流, 字符串输入输出流头文件 fstream--文件输入输出流
*/
welcome to disscuss:
txwtech@163.com
/*ca72a_c++_标准IO库:面向对象的标准库
继承:基类-》派生类
3个头文件
9个标准库类型
IO对象不可复制或赋值
ofstream, f--file,文件输出流
ostringstream,o--输出,string字符串输出流
iostream--输入输出流
istringstream,i-输入,string字符串输入流
ifstream,i--输入,f--file,文件输入流
stringstream--字符串输入输出流, 字符串输入输出流头文件
fstream--文件输入输出流
*/
#include
#include
#include 字符串输入输出流头文件
using namespace std;
//void print(std::ofstream of)
//{
// cout
关注
打赏