My friend needs help reading the rows of a file:
The file looks like this:
L D Q
------------------------------
34 2 1
45 3 2
23 1.5 0
I need the program to READ the separate doubles there and store them each into a variable, (ie. x = 34, y = 2, z = 1); Each three numbers of a row at a time.
Suggestions? TIA
The file looks like this:
L D Q
------------------------------
34 2 1
45 3 2
23 1.5 0
I need the program to READ the separate doubles there and store them each into a variable, (ie. x = 34, y = 2, z = 1); Each three numbers of a row at a time.
Suggestions? TIA