Labels

Tuesday, November 6, 2018

Deal with file by C++

#include<fstream>

fstream wf("out.dat",ios::out | ios::trunc);
// fstream ofs; ofs.open("out.dat", ios::out | ios::trunc);

No comments:

Post a Comment