the data file is around 1GB. Since, its too big to read line by line,
I think the above is your biggest mistake. It doesn't matter how big the file is, so long as the individual lines aren't >2GB, then you can read the file line by line.
I think that all your seek/tell stuff is just a distraction from your real problem. This might be a true case of the XY problem.
In reply to Re: seeking help for seek function
by BrowserUk
in thread seeking help for seek function
by pearly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |