Re: file info
- From: Dustbin <dustbin_address@xxxxxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 06:22:11 GMT
Richard Heathfield wrote:
Dustbin said:
How can I get file info such as timestamp;
datestamp; file length, etc. in C.
By using a library that provides that functionality. Most implementors supply custom libraries that contain functions to do this kind of thing, but the details depend on the library.
I suggest comp.unix.programmer or comp.os.ms-windows.programmer.win32 as obvious next ports of call. Given your user agent, the latter is more likely.
I have Schildt 1990 - C: The Complete
Reference, as basic resource but this does not
appear to offer anything on the matter.
It doesn't offer much on C, either. Schildt's C books are notorious. I suggest "The C Programming Language", 2nd edition, by Kernighan and Ritchie, as your C reference. For Unix, "The Unix Programming Environment" (Kernighan and Pike) is an excellent introduction, and "Advanced Programming in the Unix Environment" (W Richard Stevens) will take you further. For Windows, "Programming Windows", 5th edition (Charles Petzold) is a fabulous C-based book (later editions, apparently, use some bizarre new language from Microsoft, so they aren't as helpful). Also, Microsoft's own MSDN site (<http://msdn.microsoft.com/library/> if I remember rightly) is a fairly authoritative resource on Windows programming(!).
THX
D.
--
=======================
Women have spent the last
30 years proving that men
have been right for the
last 30 centuries.
=======================
.
- References:
- file info
- From: Dustbin
- Re: file info
- From: Richard Heathfield
- file info
- Prev by Date: Re: What programming language for a Republican?
- Next by Date: Re: file info
- Previous by thread: Re: file info
- Next by thread: Memory leak detectors
- Index(es):
Relevant Pages
|