I have a file and I want to make a backup file, with the same name as file but with "aux" at the end. How do I do this? I tried:
char *nameFile, *nameAux;
char *aux = aux;
nameAux = nameFile + aux;
Which didn't work.. nameFile is given to me by the user, and it's right because I can open/ceate the file with nameFile