I need a lightweight cross-platform file system library for game development. I want to ship my games on Windows, Linux and Mac.
As far as I know, using dirent.h works on all three platforms. However, I wanted to know if a library that is simpler to use exists - using directly dirent was confusing for me and I didn't get anywhere.
I also tried Boost, but I don't like the fact that it's not lightweight and it gave me trouble on Unix ports of my game.
Features I require are:
- Recursively read directory trees
- Get all files in a directory
- Get all sub-directories in a directory