I have a file IO where I read from file A.txt which contains an integer (int Bla).
Later in the program, I want to save into a file, named after the integer in file A.txt, I
write:
strcat(Bla,".txt");
ofstream w_file(Bla);
w_file<<...;
w_file.close();
I know this doesn't work but what I want to know is how to make a char of in Bla, so that I can use it to save my file.
Thanks!