the problem:
say you input from a file
"name1 1 2 3 4 5 6"
"name2 1 2 3 4 5 6"
"name3 1 2 3 4 5 6
"name4 1 2 3 4 5 6"
"name5 1 2 3 4 5 6"
"name6 1 2 3 4 5 6"
you want to store "name" as a string, and 1 2 3 4 5 6 as int.
whats the equivalent of the methods putback(), get(), getline() in java?