recursive_directory_iterator ::operator++: неизвестная ошибка
после некоторого времени работы.
Код: Выделить всё
#include
#include
#include
using namespace std;
namespace fs = std::filesystem;
void search() {
string filename;
cin >> filename;
fs::path path = "."; //i want the search to start in "users/name/"
try {
for (const auto& entry : fs::recursive_directory_iterator(path, fs::directory_options::skip_permission_denied)) {
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79316486/c-filesystem-error-recursive-directory-iteratoroperator-unknown-error[/url]
Мобильная версия