remove

C++ Reference

remove
Syntax:
  #include <stdio.h>
  int remove( const char *fname );

The remove() function erases the file specified by fname. The return value of remove() is zero upon success, and non-zero if there is an error.

Related topics: