IGETLINE_GetLine() help? | developer.brewmp.com IGETLINE_GetLine() help? | developer.brewmp.com

Developer

IGETLINE_GetLine() help?

Forums:

Hi,
I need to read a file line by line. Is there any way to read a particular line (for eg 10th line) skipping the previous lines? Help needed.

only by throwing away the previous 9th.
do you really need it to be a text file ? you might be better off using a bar file instead, then you can read random access style.

only by throwing away the previous 9th.
do you really need it to be a text file ? you might be better off using a bar file instead, then you can read random access style.

yes i want to read from a text file..

yes i want to read from a text file..

You can use IFILE_Seek() if you know some how where the line terminator for nth line.

You can use IFILE_Seek() if you know some how where the line terminator for nth line.