I need to delete a temporary file from my C++ windows application (developed in Borland C++ Builder). Currently I use a simple:
system("del tempfile.tmp");
This causes a console window to flash in front of my app and it doesn't look very professional. How do I do this without the console window?
Or, even the standard C library function int remove( const char *path );
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With