title: How to read integer value from file in C++
body: <p>How can read integer value from file? For example, these value present in a file:</p>
  
  <pre><code>5 6 7
  </code></pre>
  
  <p>If I open the file using <code>fstream</code> then how I can get integer value?</p>
  
  <p>How can read that number and avoid blank space?</p>