Questions about handling a batch of files.

Hello,
I am trying to handle(read,write and so on) a batch of files named regularly as "name1,name2,name3..."at once. Any body can tell me how to efficiently pass the file name parameter to the handling functions like .read() and .write()? It is a very common question and I think there should be some "formal" solutions.Thank u in advance.
nanchuangyeyu
std::stringstream stream;
stream <<"name"<<index;
.read(stream.str());
Topic archived. No new replies allowed.