c++IO操作实例(读取流中内容、读写文件、读写string)
关于c++IO库的知识,我觉得最好的学习方式就是通过实例进行学习。
实例1我们来看c++读写文件。
vector <string> stringTag;
ifstream instream;
ofstream outstream;
string str;
instream.open(TemplatePath, ios::app);
if (!instream)
c...
原创
2018-12-11 22:10:51 ·
1923 阅读 ·
0 评论