I\'m trying to implement a simple method to read new lines from a log file each time the method is called.
I have a text file which contains a time stamp on each line开发者_如何学C. My goal is to find the time range. All the times are in order so the first line will be the earliest time and the last line w
I\'ve been wondering what kind of ways seek is implemented acros开发者_Python百科s different file formats and what would be a good way to construct a file that has a lot of data to enable efficient se
I am playing a Video using a VideoView in my app. On the click of a button, it records the current position of the video, and the app opens up the browser with some url. On pressing the back button, t
My application uses lseek() to seek the desired position to write data. The file is successfully opened using open() and my application was able to use lseek() and write() lots of times.
I have a text file containing a number of records. Each record is stored on a single line that is 100 characters long.开发者_开发技巧
I\'m building a video player here: http://leongaban.com/stackoverflow/RTMP/ It\'s streaming RTMP, and I\'m trying to get my video to seek correctly if the user clicks on the groove bar (gray bar unde
I\'m looking for a general compression library that supports random access during decompression. I want to compress wikipedia into a single compressed format and at the same time I want to decompress/
When I issue a Perl script some standard input, e.g. $ awk \'{print $1\"\\t\"$2}\' foo.txt | myScript.pl
Suppose you open a file, and do an seek() somewhere in the file, how do you know the current file line ?