문제

I'm looking for documentation on C++ code for file and directory implementation into C++ programs.

I like going to cplusplus.com because of the documents and examples they have, but I can't find documentation on dirent.h, I'm not even sure it's all that great.

I'm looking to have a program able to see inside a directory, meaning obtaining a list of the files and sub-directories within, plus being able to get the modify/creation date of such things. I program in Ubuntu Linux.

도움이 되었습니까?

해결책

Go to terminal, type man dirent, press enter and read it. If your distribution didn't install manpages for some reason, it won't be available. But in this case you can google it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top