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.
- Host: GitHub
- URL: https://github.com/oblerion/dirent2
- Owner: oblerion
- License: mit
- Created: 2022-02-26T13:52:44.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-26T15:08:55.000Z (over 4 years ago)
- Last Synced: 2025-02-24T00:22:19.339Z (over 1 year ago)
- Topics: cpp, dirent
- Language: C++
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
};
```