how can we make a certain file empty.first we read data from the file and then delete all the data from the file.now the file is empty.
can somebody help?
Printable View
how can we make a certain file empty.first we read data from the file and then delete all the data from the file.now the file is empty.
can somebody help?
>how can we make a certain file empty.
Open it for writing. Any contents will be removed and the file position will be set to the beginning.
-Prelude