Ok, I'm trying to read in data from a text file.
In input.txt, I have the following line
11 14 9 3 2 10 15
How can I read in those 7 numbers and place them in arrays?
Because some of the numbers are two digits,
char user = (char)(in.read( )); does not work.
Thanks.
In input.txt, I have the following line
11 14 9 3 2 10 15
How can I read in those 7 numbers and place them in arrays?
Because some of the numbers are two digits,
char user = (char)(in.read( )); does not work.
Thanks.
Comment