I have a homework assignment and i can't figure out how to cin from a file that contains the data with a command and two doubles such as:
r 10.3 4.6
r 5.7 6.2
p 2.1 3.6
etc.... the two numbers need to go into one element of the array
so that they can be manipulated and continue adding elements until the quit command is reached.......it's a little hard to explain but can anyone help me.....PLEASE!!!!!
Thanx Alot!