Hi,
I am working in Windows XP and I need to destroy a file in a C program (not just erase its contents). The file was opened this way:
After that, I write data into the file. Finally, I try to destroy it with these instructions:
But the only effect is erasing the file's contents. How can I destroy it effectively?
I am working in Windows XP and I need to destroy a file in a C program (not just erase its contents). The file was opened this way:
Code:
FILE* pBinFile = fopen(nameBinFile,"w+b");
Code:
remove(nameBinFile); fclose(pBinFile);
Comment