C++ Equivalent to a Scanner's .nextFloat() method?
<p>I'm starting to write C++ and I'm trying to read a text file that is formatted like this:</p>

<pre><code>32.0      12.43
503.2     3.212
</code></pre>

<p>etc.</p>

<p>In Java, I could use a <code>Scanner</code> with <code>.nextFloat()</code>, and put the contains into an <code>Array</code>. I am trying to achieve the same thing with C++. How is this done?</p>
