标签:str fstream pre tmp while nbsp ifstream line get
读入
#include<ifstream> ifstream infile; infile.open(img_dir); while(getline(infile,tmp)){ }
写入
#include <fstream> ofstream outfile; outfile.open(txt_dir) outfile<<123<<endl; outfile.close();
标签:str fstream pre tmp while nbsp ifstream line get
原文地址:https://www.cnblogs.com/ymjyqsx/p/9077521.html