Visual Studio 2012 includes the filesystem library. It isn’t part of the C++11 standard but it’s one of the proposals for TR2. The proposal is based on the library included in boost.
The library provides a convenient (and cross platform, if supported by compilers) interface for file & directory traversing and manipulation, as well as querying filesystem information such as file sizes and disk space.
The main components of the library are:
Path objects encapsulate filesystem paths and provide convenient ways of assembling paths and extracting their components.
Directory iterators allow you to iterate over directory contents, both recursively …Read More