58 std::ostringstream
id;
64 std::ostringstream localFileName;
65 std::string::size_type loc = fname.find(
'.');
67 if (loc == std::string::npos)
68 localFileName << fname <<
id.str();
70 localFileName << fname.substr(0, loc) <<
id.str() << fname.substr(loc);
72 newf = localFileName.str();
Declaration of methods to assist in file input/output.
void addNumberToFileName(int number, std::string fname, std::string &newf)
Helper method to add number to a file name.