deletion of text files in c++

how to delete a pre-existing text file in c++?

you can use remove( filename );

and #include <cstdio>

http://www.cplusplus.com/reference/cstdio/remove/
Last edited on
Topic archived. No new replies allowed.