Sujet : Re: encapsulating directory operations
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.cDate : 31. May 2025, 07:20:33
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101e738$vrrm$1@raubtier-asyl.eternal-september.org>
References : 1 2
User-Agent : Mozilla Thunderbird
Am 20.05.2025 um 09:27 schrieb Lawrence D'Oliveiro:
On Tue, 20 May 2025 16:06:19 +1000, Paul Edwards wrote:
And in essence, when you read from a directory, the only thing you get
is the filename.
You want at least the type of entry as well, surely.
<https://manpages.debian.org/readdir(3)>
Easier to handle:
https://en.cppreference.com/w/cpp/filesystem/directory_iterator.html