title: C++ Reading a SPECIFIC line from a text file and comparing it with an input
body: <p>I'm building a login function where the user enters a username. The program should be able to read a text file called "accounts.txt" and read the username line (Which is the 4th line in the text file) and compare the input with the text file's username.</p>
  
  <p>1) User enters username 
  2) Program reads the 4th line of the text file (i.e: username) 
  3) Checks if both usernames are the same 
  4) Success message </p>
  
  <p>How do I get this done, mates?</p>
  
  <p>Thanks a lot </p>
  
  <p>P.S: fstream is used in this, am I right?</p>