title: End of line in text file - C++
body: <p>I don't know how to implement this algorithm</p>
  
  <p>//you have a text file like</p>
  
  <pre><code>12 3
  3
  4 4
  </code></pre>
  
  <ol>
  <li>if the line contains only one number skip it
  else </li>
  <li>read first number then the second number and do some work</li>
  </ol>
  
  <p>So, How can I know that the line is end?
  I need to deal with the data as integer not string</p>