Hi,
When I want to delete a file in "C" I use the remove() function from stdio.h. How do I do the same in "C++"
Thanks for your help
Jack
Printable View
Hi,
When I want to delete a file in "C" I use the remove() function from stdio.h. How do I do the same in "C++"
Thanks for your help
Jack
Use the remove() function from <cstdio>.
or using the same function from <stdio.h> exactly the same way as in C. C++ compilers understand C code.