hello folks,
sorry for a newbie question:
I am reading directory contents with opendir() and readdir().
everything is fine if I just need filenames. but what if I need creation dates, and size of the files?
does dirent.h provide this?
thanks!
hello folks,
sorry for a newbie question:
I am reading directory contents with opendir() and readdir().
everything is fine if I just need filenames. but what if I need creation dates, and size of the files?
does dirent.h provide this?
thanks!
Look up findfirst() and findnext() in DIR.H.
Although they're neither ANSI nor POSIX, they do work.
Actually if ur programming in linux/unix do a "man stat" in a terminal u'll get all the relevant information you need there.
PuterPaul.co.uk - Portfolio site
thanks, people.