title: Stream and c++ - parsing file
body: <p>I did it before... But I forgot.
  I have a file with some data:</p>
  
  <blockquote>
    <p>0.5 0.6 0.7
    1.2 1.5</p>
  </blockquote>
  
  <p>How can I read this in c++? I did it with stream... something like:</p>
  
  <pre><code>float var = 0;
  stream &gt;&gt; var;
  </code></pre>