How to concat an int to a wchar_t* in C++?
问题 I have to create and write on N files, everyone must have an integer ending to identificate it. This is my piece of code: for(int i=0; i<MAX; i++) { uscita.open("nameFile"+i+".txt", ios::out); uscita << getData() << endl; uscita.close(); } And that's what I would like to find in my directory after execution: nameFile0.txt nameFile1.txt nameFile2.txt ... nameFileMAX.txt The problem of the above code is that I get the compilin' error: error C2110: '+' Impossible to add two pointers If I try to