Mail Archives: djgpp/1999/01/27/21:57:04
there is a function called remove to remove files from disk. use it as
remove(filename);
where filename is the name of the file to be deleted.
On Wed, 27 Jan 1999, Benjamin Downs wrote:
> Hi,
>
> I'm trying to delete a file on a hard disk from within a c program. There
> seems to be plenty of support for creating / appending to files and
> setting their length to 0, but not much in the way of deleting it when
> you're finished.
>
> Any comments appreciated,
>
> ben DOT downs AT dial DOT pipex DOT com
>
>
- Raw text -