how can i delete files with c++? im using visual studio and programming in windows if that helps any
Printable View
how can i delete files with c++? im using visual studio and programming in windows if that helps any
Try DeleteFile(LPCTSTR lpFileName)
#include <cstdio>
remove (file);
Kuphryn
Try the system() function...Although you will have to edit the source a little through each operating system you use.