I've found tons of examples on file IO, but nothing with folders?
anyone have a quick example?
Note: I'm on *.nix
You can take a look at Boost FileSystem
You shouldn't be reading and writing to folders - that's the file system's job. If you want to read a directory, take a look at opendir and friends.
Take a look at opendir, readdir, closedir, etc. functions.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.