Re: [Dev-C++] file modification time
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Bhuvaneswaran A <bh...@sy...> - 2005-02-23 10:11:06
|
> Maybe you should explain exactly why it is important to check the file > modify time. Isn't it enough for the B app to just check size and read the > new information - similar to the "tail" program. > Thankx a lot for your reply! The need is something like, i have the start time & end time. I should locate the portion of the data belonging to this duration. It would be located anywhere in that file. So, as you suggest i would re-write my code in such a way that it would locate the data based on current file size instead of the file modification time. But, my doubt is, if this is the case, is it wise to depend of the file attribute ? Will it be consistent ? Is there any other smart way to do this ? Regards, Bhuvaneswaran A |