|
-
October 5th, 2001, 05:03 PM
#1
How to delete a file?
Hi, how can I delete a file (using fstream or something similar)? I know how to clear one, but I need to delete it. Please post info here, thanks.
-
October 5th, 2001, 11:05 PM
#2
Re: How to delete a file?
On Windows platforms you can use the DeleteFile() API. It takes the file name as the parameter.
Best Regards,
Kabilan.
Pl rate if it helped. It inspires...
-
January 30th, 2002, 06:59 PM
#3
Re: How to delete a file?
#include <stdio.h>
remove("file2delete.bye");
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|