View Single Post
Old Oct 30th, 2007, 1:38 PM   #4
Adeil
Newbie
 
Join Date: Mar 2005
Location: St. Louis, USA
Posts: 3
Rep Power: 0 Adeil is on a distinguished road
Send a message via ICQ to Adeil Send a message via AIM to Adeil Send a message via MSN to Adeil Send a message via Yahoo to Adeil
Re: Jumping to a specific line number in a text file

Thank you two for the speedy replies. I think i will use vectors, i had forgotten about them until you mentioned them, lectricpharaoh. I will also look up "memory-mapped files" on google and see what i can find out about them.

The lines of the file will be variable lengths and the program will need to be able to go to any specific line at any time and read from there on (like loops.)

As for my OS and compiler, i am running Windows XP and using GNU GCC Compiler.
Adeil is offline   Reply With Quote