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:
Expand|Select|Wrap|Line Numbers
- FILE* pBinFile = fopen(nameBinFile,"w+b");
Expand|Select|Wrap|Line Numbers
- remove(nameBinFile);
- fclose(pBinFile);