CppCommon
1.0.4.1
C++ Common Library
filesystem_directory.cpp
Filesystem directory example
#include "
filesystem/directory.h
"
#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;
}
CppCommon::Directory
Filesystem directory.
Definition:
directory.h:25
directory.h
Filesystem directory definition.
Generated by
1.9.1