Reading group of numbers per line in text file

I am working on a project for school that has us read in a text file that contains 8 lines of SSN and grades. I am not sure how to go about reading in the lines and differentiate between the SSN and grades in the calculations.

Can someone show me an example?
getline reads file till first nev line char
as for the fifference differentiate between the ssn and grades well idk what ssn is, but grades are (probably) just 1 char so meybe tha is how you can see the difference.
Topic archived. No new replies allowed.