title: jumping lines in a file using c
body: <p>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
  EDIT:<br>
  one more problem which i am having is that i cannot read the all file to the memory
  its some kind of an assignment given in files management course i can only read 2 records at a time when doint the actual sort</p>
  
  <p>thing is this is not a binary file,
  options like functions as </p>
  
  <pre><code> fseek(filepointer,number of bits,SEEK_SET)
  </code></pre>
  
  <p>cannot help me here cause i need to jump lines</p>
  
  <p>thanks in advance for your time.</p>