title: C: Read words and include \n on them, but not spaces
body: <p>I need to read from a file in C and put every word on an array,
  spaces should not be included on the word (when it reaches a space it should end copying that word), but \n MUST BE INCLUDED whenever it is found.</p>
  
  <pre><code>fscanf(arquivo,"%s",palavras[i].string);
  </code></pre>
  
  <p>is almost working, but it is not including \n when it is found on the file..</p>
  
  <pre><code>fgets (temp , 100 , arquivo);
  </code></pre>
  
  <p>doesn't work because it doesn't stop when it finds a space.</p>
  
  <p>What do you guys think?</p>