hi every one!
how i can remove a file
Printable View
hi every one!
how i can remove a file
shift+del, then hit Enter
I mean remove a file in C
Um, let's take a wild guess....
remove()
Yup. That sounds about right.
If you are on Unix use
Code:int unlink(const char *path);
According to http://linux.about.com/od/commands/l/blcmdl3_remove.htm "remove" calls "unlink". It would be better to use remove for portability.