Examples of using std:filesystem
In this section, we'll analyze a few examples where `std::filesystem` is used. We'll go from a simple code - loading a file into a string, and then explore creating directories, or filtering using `std::regex`.
We'll cover the following
To revise what we have learned so far, here is the sample code that lists the files in the directories and displays their size and when were they last modified:
Get hands-on with 1400+ tech skills courses.