i am intermediate level in c programming, i tried to write my program that reads selected file details such as file size, file created date..., but i haven't clear idea about that. anybody can help me?
i am intermediate level in c programming, i tried to write my program that reads selected file details such as file size, file created date..., but i haven't clear idea about that. anybody can help me?
What platform?
If it's Windows use GetFileTime() and convert it from FILETIME to SYSTEMTIME with FileTimeToSystemTime(). Otherwise if it's POSIX you can use stat() from sys/stat.h.