title: end of line in stringstream
body: <p>Let us say we have a file like:</p>
  
  <pre><code>1 2
  3 4 5
  6 7 8
  </code></pre>
  
  <p>usually we would do a getline(), and then use string stream to parse inside the line. However the getline returns a string for which we create a stringstream. 
  Is it possible to get the entire contents of file in a string stream and then parse the tokens, also knowing where the end of line lies ?</p>