开发者

c++: how to read from and write to a folder

I've found to开发者_如何转开发ns 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜