CppCommon  1.0.4.1
C++ Common Library
filesystem_directory.cpp

Filesystem directory example

#include <iostream>
int main(int argc, char** argv)
{
// Get the current directory
CppCommon::Directory current(".");
// Iterate through all directory entries
for (const auto& entry : current)
std::cout << entry.filename() << std::endl;
return 0;
}
Filesystem directory.
Definition: directory.h:25
Filesystem directory definition.