#include<iostream>
写文件
ofstream
追加模式
写文件
ifstream
#include <fstream>
fstream output; output.open("file.txt", ios::app); output << state_.mprset_.size() << endl; output.close(); |
标签:文件,ifstream,fstream,读写,output,include From: https://www.cnblogs.com/libxing/p/16641007.html