📅  最后修改于: 2022-03-11 14:44:58.318000             🧑  作者: Mango
#include
using recursive_directory_iterator = std::filesystem::recursive_directory_iterator;
...
for (const auto& dirEntry : recursive_directory_iterator(myPath))
std::cout << dirEntry << std::endl;