how can i delete files with c++? im using visual studio and programming in windows if that helps any
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.
What will people say if they hear that I'm a Jesus freak?
What will people do if they find that it's true?
I don't really care if they label me a Jesus freak, there is no disguising the truth!
Jesus Freak, D.C. Talk
-gnu-ehacks