reading data from a .txt file and saving to a vector
<p>This is a very simple question: How can I read .txt file and save to a vector using c++? I've 9 data stored in a txt file separated by tab and I want to save this to three different Vector (I'm using Eigen library).
the 9 data are this:</p>

<pre><code> -468.01    198.74  -123.9  -471.67 195.41  46.878  -471.39 111.84  45.518 
</code></pre>

<p>Someone can help me?
Thanks in advance!</p>
