使用:
#include <filesystem>
namespace fs = std::filesystem;
报错:fatal error: filesystem: No such file or directory
尝试解决办法:
#include <experimental/filesystem>
namespace fs = std::experimental::filesystem;
实测ok
使用:
#include <filesystem>
namespace fs = std::filesystem;
报错:fatal error: filesystem: No such file or directory
尝试解决办法:
#include <experimental/filesystem>
namespace fs = std::experimental::filesystem;
实测ok