I would like to save files with different names in a loop. I use a library that needs a char as a parameter of the file...
for(int i=0;i<nodes;i++){
for(int j=0;j<nodes;j++){
char a[20]="test";
char c[20]="xout.dat";
Lib::SaveFile(_T(a), _T(c));
}}
The above code works, but I would like to change the name of the xout.mid to the corresponding integer so I would get i*j files with different names.i and j go from 0 to about 30.
I would like to get a char with the name i_j_xout.dat