I
isaac2004
hello, what i am trying to do is set up a loop that grabs multiple
variables from an input file. my question is, is there a built in
function in the istream class that can grab multiple values on one
line.
such as
60 40 10 10
all getting put into different variables. the problem i am having is
that there is other data in the file that i do not want to do this to.
can i set the get for only the first line of data from the file.
thanks for the help
variables from an input file. my question is, is there a built in
function in the istream class that can grab multiple values on one
line.
such as
60 40 10 10
all getting put into different variables. the problem i am having is
that there is other data in the file that i do not want to do this to.
can i set the get for only the first line of data from the file.
thanks for the help