You don't appear to have read anything in from the file. I'm not
even sure you've opened it (I don't know ifstream too well). Can
I suggest rather than trying to write the program all in one go
you take it a step at a time?  First open the file and read a
number from it, display it to screen, close and exit. Build that
program and get it working before moving on to the next step.
Then modify that to read multiple numbers from the file. The
format appears fixed: first a 4-digit number, then 7 numbers
below 101. Display each of those numbers, and optionally detect
a line break (by the fact that you've got a large number), and
when that works the output should match the input.  As you
haven't explained the file structure I can only guess. Does the
first line mean student ID=3313 has scores 90 42 58 64 70 75
100? (It's not obvious, because another possibility is that 3313
is a test reference and student 1, represented by the second
column, got scores 50, 88, 96 etc). How to proceed will depend
critically on this