Liste des Groupes | Revenir à cl c |
Am 31.05.2025 um 23:42 schrieb Lawrence D'Oliveiro:
>On Sat, 31 May 2025 08:20:33 +0200, Bonita Montero wrote:>>Easier to handle:
https://en.cppreference.com/w/cpp/filesystem/directory_iterator.htmlIf you’re wanting language-specific facilities, then see if you can>
beat this <https://docs.python.org/3/library/os.html#os.walk>. For
one thing, notice how it gives you the choice of whether to follow
symlinks or not?
Sth. like this:
>
for( directory_entry const &de : recursive_directory_iterator( "\",
directory_options::follow_directory_symlink ) )
cout << de.path() << endl;
Les messages affichés proviennent d'usenet.