Untitled
bool foundFile() { for (const auto& entry : fs::recursive_directory_iterator("C:\\")) { if (entry.is_regular_file() && entry.path().filename().string() == "namert_.json") { return true; } } return false; }
Leave a Comment
bool foundFile() { for (const auto& entry : fs::recursive_directory_iterator("C:\\")) { if (entry.is_regular_file() && entry.path().filename().string() == "namert_.json") { return true; } } return false; }