Reading group of numbers per line in text file

Mar 27, 2013 at 8:47pm
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?
Mar 27, 2013 at 8:59pm
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.