Char b [80]="D: \ \ office \ \ \ \ \ \ c student achievement management system student achievement management system \ \ TMP. TXT".
Remove (a);//delete the original file
The fflush (stdin);
If (rename (b, a)==0)
Printf (" has modified the file % s to % s \ n ", b, a);
The else
Perror (" rename ");
Can run, but not the name, remove and delete files
CodePudding user response:
Look at the error code is what?