Hello.
I am new to all this...I know how to open/read/write/close files but I can't seem to find a way to delete and files once they are made. Please help!
Hello.
I am new to all this...I know how to open/read/write/close files but I can't seem to find a way to delete and files once they are made. Please help!
click me!
Go to 'some useful functions.
"Logic is the art of going wrong with confidence."
Morris Kline
Thanx!
Sorry...I forgot to ask...how do you recursively delete a folder that has files and folders in it?
Sorry again!
You could use the system command and the appropriate OS commands, I think its deltree on Windows
system( "deltree c:\\My Docs" );
or something similar at least
I have windows 98...my compiler is one of the two...Dev-C++ or Turbo C++ 3. I need a way that would delete the folder, all the folders in it, and all the files in it. Because sometimes the Operating System's delete function doesn't work....I have to restart in MS-DOS mode to delete one file...so I thought I should make a program that does that so I don't have to restart every time...
Thanks!
You should be careful, sometimes the OS lets you think you've deleted files when you really shouldn't be deleting them. Just a cautionary word....
well...?
anybody have an aswer at all? Please I need help too!
Last edited by /\/\ E /\/ @; 07-25-2002 at 08:22 AM.