c++ 17 扫描目录文件夹 #include <string> #include <filesystem> //只扫描当前目录下的文件和文件夹,不会递归处理 void scanDir(std::string path) { for (auto entry : std::filesystem::