|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-06-08 20:12:07
|
she...@be... wrote: > OK so the use of "index" is not like the use of fseek in C. So how can I > advance to a particular data set in a file of multiple data sets without > having to parse the entire file each time? That is, how can I do something > like a fseek? You can't, short of not having such a big entire file in the first place. Text files absolutely _have_ to be parsed to find any particular position whose definition depends on the context of the file itself (e.g. a particular line number, the n-th occurence of a double blank line, ...). |