alright, I have two problems, first of all I want to write to a folder, the folder is predetermined (not a variable), but the file name is a variable, but I want it to write to: saves\command.svg
command is the character string (variable)
I tried:
strcpy(command,"saves\",command,".svg");
edit> nm gotit, sorry, strcat fixed it
edit2> it outputs a file testest, I set command to test and ran these before opening the file:
[CODE] strcat("saves\\",command);
strcat(command,".svg");[\CODE]
I used:
ofstream load(command);
to open the file, but it didn't work