Fierytycoon
October 5th, 2001, 05:03 PM
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.
|
Click to See Complete Forum and Search --> : How to delete a file? Fierytycoon October 5th, 2001, 05:03 PM 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. T Kabilan October 5th, 2001, 11:05 PM 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... davedrake1 January 30th, 2002, 05:59 PM #include <stdio.h> remove("file2delete.bye"); codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |