standard c lib function to rename files? (djgpp)
Is there such function or do I have to open the file save it with another name and then delete the old file? In case I have to do the latter one, how do you delete a file?
There are functions "rename" and "remove" declared in stdio.h for renaming and deleting files.
int remove(const char *filename);
int rename(const char *old, const char *new);
int remove(const char *filename);
int rename(const char *old, const char *new);
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement