My problem is i am trying to read data in from a file, and the data is all on one line.
The files name for testing is just named "data.txt" and i already know how to set it up to read in by passing argv[] or also known as command line parameters.
The data i need to read in is:
100 24 9 2010 19.00 M 0.00 0.00 NY L 29 7 1953 Ken Burns 525 An Evening with Ken Burns
Its all on one line in the file, and is made up of 8 int types, 3 float types, 4 character types(state has to be read in as two separate characters), and 3 strings.
The first and last name are two separate strings and are "Ken Burns"
The event title i have to use a get line or something to the whole title "An Evening with Ken Burns";
how would i set up the cin statement, or file in statement?