Ron Bowmanr much longer CPER211 lab section 05 and 06.
75 50 57 6
Section 05 test scores:
This is the txt file I am trying to read from. I need the 4 numbers assigned to 4 different variables using the ignore function. I used
inFile.ignore(INT_MAX,'\n');
inFile >> arg1;
to find the first number in the txt file but I can't find the other 3 numbers to assign them to variables like I did for the first number.
Aucun commentaire:
Enregistrer un commentaire