Question: C++, do not use array, I need th part , I need help to see how can I grab the next line ? This is

C++, do not use array, I need th part , I need help to see how can I grab the next line ? This is what I did(show in picture), but it got infinity loop.
Sample file:
Anna Joe 1 2 10 5 7 8 9
Mary Johnson 16 23 10 4 5 6
John Paul 12 4 66 23 6 9 6
 C++, do not use array, I need th part , I
need help to see how can I grab the next line ?

Write a program to compute numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the fol- lowing format: Each line contains a student's last name, then one space, then the student's first name, then one space, then ten quiz scores all on one line. The quiz scores are whole numbers and are separated by one space. Your program will take its input from this file and send its output to a second file. The data in the output file will be the same as the data in the input file except that there will be one additional number (of type double) at the end of each 2. tudent's ten quiz scores. I is is being done as a class assignment, obtain the file names from your instructor. Use at least one function that has file streams as all or some of its arguments

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!