开发者

Reading File tags/properties in c++

I know there are file comparison tools out there to determine whether files were added, deleted, or modified when comparing between two folders. However, I'm wondering how you would approach reading the file properties programmatically to see when the file is created/modified/accessed (like how you can find these information by viewing the file properties in a file explorere). 开发者_运维问答Thanks in advance for your input.


use the file info class of my current library of choice, for example: QFileInfo


On Windows you call FindFirstFile() WinAPI function. On Linux it's stat/fstat.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜