📜  c++ 删除目录 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:56.444000             🧑  作者: Mango

代码示例1
#include 
std::filesystem::remove("myEmptyDirectoryOrFile"); // Deletes empty directories or single files.
std::filesystem::remove_all("myDirectory"); // Deletes one or more files recursively.