我想删除其路径存储在std::string对象中的文件.我知道remove()在<cstdio>,但它需要一个const char *作为参数.那么有没有直接删除文件的方法,比如将字符串对象作为输入的函数?
std::string
remove()
<cstdio>
const char *
c++ file delete-file
c++ ×1
delete-file ×1
file ×1