c++ - Scan folders with non English letters in a given directory -


here function written in c++ 2011 (vs); i'm using function extension , size of every file in every directory. problem when there folder named in non english letters, won't open folder search extensions. appreciate if me issue.

void scan(path const& f) {     directory_iterator d(f);     directory_iterator e;     (; d != e; ++d)       {             string ext = d->path().extension();             _ulonglong size = file_size(d->path());             if (is_directory(d->status()))                  scan(d->path());     }  } 


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -