An open API service indexing awesome lists of open source software.

https://github.com/oblerion/dirent2

C++ Struct to get file and folder information in directory.
https://github.com/oblerion/dirent2

cpp dirent

Last synced: 19 days ago
JSON representation

C++ Struct to get file and folder information in directory.

Awesome Lists containing this project

README

          

# dirent2
Struct to more easy to use [dirent.h](https://github.com/tronkko/dirent).

Same to dirent get file and folder information.

Need dirent.h for work.
## some exemple
```cpp
#include "dirent2.hpp"
// simple
struct dirent2 d2;
d2.scan("."); // scan '.' directory
d2.print(); // print all name in console

// advenced loop
for(int i=0;i 'f' file or 'd' dir
};
```