and it works, no problem, but I'd like to export many log files so I need dynamic concatenation, something like that :
"
.......
int x = 5;
GetCurrentDirectory(256, file);
strcat(file,"\\logx.txt");
....
"
and having a log5.txt in my file, into not erasing log4.txt for exemple ... I searched with the sprintf function for cast, but I have a problem, if I do
"
.......
GetCurrentDirectory(256, fichier);
strcat(file,"\\log");
strcat(file,".txt");
....
"
It doesn't work, I don't understand why ... I want to do strcat(file,"\\log" +x+".txt" ); like in java for exemple but I don't find how to write it ... someone knows it plz ?? =)
Bookmarks