I want to delete a file whose path is stored in a std::string object.
I know remove() in <cstdio>, but it takes a const char * as argument.
So is there any direct method to delete the file, like a function which takes the string object as its input?
I want to delete a file whose path is stored in a std::string object.
Share
How about:
Of course, you can always define