title: How to use fgets when you need to break from blanks
body: <p>I need to seperate some sentences. For example, the txt file is something like:</p>
  <pre><code>Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
  Donec commodo metus sit amet mauris facilisis, fringilla convallis erat dictum. 
  
  
  Quisque scelerisque turpis hendrerit, sodales erat et, convallis nisl. 
  Etiam ultrices vulputate purus, id tincidunt purus semper vel. 
  </code></pre>
  <p>There are many blocks (as blocks, I mean two sentences in a row) so I can not manually seperate them. I need to seperate them by blanks between them. However, fgets works line by line so it would give me;</p>
  <pre><code>Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
  
  Donec commodo metus sit amet mauris facilisis, fringilla convallis erat dictum. 
  
  Quisque scelerisque turpis hendrerit, sodales erat et, convallis nisl. 
  
  Etiam ultrices vulputate purus, id tincidunt purus semper vel. 
  
  </code></pre>
  <p>What should I do? I think about, yet no starting point. Thanks for any help.</p>
  <p>Edit: Since many people did not understand that, I see I was unclear. So the point is that, from txt file above, I need to separate those sentences by blanks and add those sentences to an array (array of strings in this case).</p>
  <p>So, when this process is done, arrayofstrings[0] must give us</p>
  <pre><code>Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
  Donec commodo metus sit amet mauris facilisis, fringilla convallis erat dictum. 
  </code></pre>
  <p>Then next index should be similar to this. One of the problems is that I can not be sure that those multi-sentences in indexes are not always constructed by two sentences. I mean, for an index i, arrayofstrings[i] can be as:</p>
  <pre><code>Ut mattis mi ac purus tempor bibendum. 
  Praesent sed metus enim. 
  Pellentesque at orci id mauris consectetur consequat. 
  </code></pre>
  <p>So process can not be done depending on the two-line idea.</p>