title: how to read a specific line from a text file c++
body: <p>If I have a text file like this:
  a
  b
  c
  d</p>
  
  <p>How can I read the nth line without a counting loop so if the line number is 3 I can get the letter c.</p>