Hi,
How do you delete a file in the middle of your c program.
I have where the file is....
TCHAR buf[128];
and buf is "c:\\somewhere\\file.txt"
Pls help....
Matt
Printable View
Hi,
How do you delete a file in the middle of your c program.
I have where the file is....
TCHAR buf[128];
and buf is "c:\\somewhere\\file.txt"
Pls help....
Matt
You can use the remove function to delete files
returns zero if successful.Code:int remove(char *filename)
or do you mean a record in that file?