title: C++: Get line by the line number
body: <p>Is there a fast way to get a line from a text file by the line number? If I wanted only line 20 is there anything that will allow me to do something like get line 20? I know getline(in, line) reads in each line one at a time but I rather not call getline 20 times to get the 20th line. </p>
  
  <p>Thanks!</p>