Do you know how to iterate through directories in modern C++? How to work with std::filesystem to solve this task?
by Bartlomiej Filipek
From the article:
How would you implement a function that searches for files with a given extension? For example, finding all text files? or *.cpp files? To code that solution you need a way to iterate through directories. Is that possible in C++ out of the box using the standard library? Let’s see some techniques and new elements that C++17 added.