Increment the int 'Number' as your wish, then convert it into string and finally append it with the file name (or exactly where you want).
Headers needed:
#include <iomanip>
#include <locale>
#include <sstream>
#include <string> // this should be already included in <sstream>
And to convert the 'Number' to 'String' do the following:
int Number = 123; // number to be converted to a string
string Result; // string which will contain the result
ostringstream convert; // stream used for the conversion
convert << Number; // insert the textual representation of 'Number' in the characters in the stream
Result = convert.str(); // set 'Result' to the contents of the stream
// 'Result' now is equal to "123"
This operation can be shorten into a single line:
int Number = 123;
string String = static_cast<ostringstream*>( &(ostringstream() << Number) )->str();
Reference taken from here.