getXxxx not reading all numbers into array - Help please!

Fixed, thanks!
Last edited on
Actually just figured it out.
Missed this part on the assignment:
 
You know you are done when you get to a line with no data.

Because of this, the text file would have a return after the last entry as below?
1
2
3
4
5
6
answerkeyE
bccbbadbca
bccbbadbca
bccbbadbca
lastentryX
Topic archived. No new replies allowed.