C
C
calculator2122021-12-12 22:56:57
C++ / C#
calculator212, 2021-12-12 22:56:57

Is there a standard function in c++ to traverse directories under windows?

Maybe I googled badly, but I only found options with boost and c ++ 17 filesystem or through winapi. Really there are no +/- standard means for reading a directory in Windows?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Karbivnichy, 2021-12-12
@calculator212

filesystem

Important!
in the Visual Studio 2017 release, the header is not yet a C++ standard. C++ in Visual Studio 2017 RTW implements the final draft standard, which is in ISO/IEC JTC 1/SC 22/WG 21 N4100.

M
maaGames, 2021-12-13
@maaGames

C ++ has nothing to do with Windows, so "it itself" does not know how to do this. Not skillfully, until the mentioned C ++ 17, which is the most real native C ++. There are some inconveniences and it seems that not the full functionality of winapi is available, but in 99% of cases it is enough.
WinAPI is a secure interface for connecting to libraries from any language.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question