title: Use fscanf to read strings and empty lines
body: <p>I have a text file containing keywords and integers and have access to the file stream in order to parse this file.</p>
  
  <p>I am able to parse it by doing
  <code>while( fscanf(stream, "%s", word) != -1 )</code> which gets each word and int in the file for me to parse, but the problem I'm having is that I cannot detect an empty line "\n" which then I need to detect for something. I can see that \n is a character thus not detected by %s. What can I do to modify fscanf to also get EOL characters?</p>