Hello,
I just want to delete a file from the hard disk, therefore I use the remove() standard function.
Sometimes I get an error code -1 (access denied), when I want to do it. Even if I try to delete the same file, then copy it back (just for test reasons), it works, and then suddenly error -1.
Can somebody tell me what to do? I have already tried to call fflush(), but it doesn´t help.
mitulatbati
I just want to delete a file from the hard disk, therefore I use the remove() standard function.
Sometimes I get an error code -1 (access denied), when I want to do it. Even if I try to delete the same file, then copy it back (just for test reasons), it works, and then suddenly error -1.
Can somebody tell me what to do? I have already tried to call fflush(), but it doesn´t help.
mitulatbati
Comment