I am creating a creating a program which needs the ability to make the get stream pointer jump to a specified line in the textfile it has opened. For example line 153.
The lines have a variable length and contain only numbers.
Is there a way to do this and how?
An other part of the program creates the numbers in sequence. So if this is not possible or if it is unnecessary hard this way, could you suggest an other way to get these numbers ordered differently?