jumping lines in a file using c
- by Nadav Stern
hello i am trying to sort a textual file using c programming language,
in order to sort the file i am using a unique key,
i need to be able to jump from line to line in order to sort the file , the problem is that i do not know if there is a command in c which let me jump from the first line to lets say the
20 line for example
the only solution which i know for it is to use each time fscanf with a loop
but this solution is not very effective
thanks in advance for your time.