title: Reading till the end of a line in C++
body: <p>I have a text file like this :</p>
  
  <blockquote>
    <p>Sting Another string  0 12 0 5 3 8<br/> 
    Sting Another string  8 13 2 0 6 11</p>
  </blockquote>
  
  <p>And I want to count how many numbers are there. I think my best bet is to use while type cycle with a condition to end counting then another line starts but I do not know how to stop reading at the end of a line.</p>
  
  <p>Thanks for your help in advance ;)</p>