Reading files in a vector or list and save these

Dear Expert Programmers,

I need your help and advice in the following question and I will appreciate your consideration very much. My present function as attached[code]string getdir (string dir, vector<string> &files)
FileWvIn tr("filename[i]");
fsize = tr.getSize();

}
f.close()
Thank you for the kind help
Last edited on
1
2
3
4
for (int i = 0; i < (int)files.size(); ++i) {
  FileWvIn tr(files[i]); 
  // etc
}
Topic archived. No new replies allowed.