How to separate a getline from file in to string and integers. C++ : <p>So i have a .txt file that goes like this:</p>

<p>John F. Bush 35</p>

<p>James Bush 69</p>

<p>(And so on....)</p>

<p>And im trying to figuer out how to seperate a line into a string and into an integer Like so:</p>

<p>String A = John F. Bush;
int B = 35;
And i cant seem to figuer out how to... Any help would be appreciated.</p>
