title: Read multiple values from file with fstream?
body: <p>Can I read multiple values from tab separated text file with</p>
  
  <pre><code>double value1, value2, value3;
  ifstream in;
  fin.open ("myfile.dat", ifstream::in);
  fin &gt;&gt; value1 &gt;&gt; value2 &gt;&gt; value3;
  </code></pre>
  
  <p>I get zeros in all values.</p>