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.
精彩评论