I do not have a code that I need help with. I would like to ask how do I get a line of numbers from a data file with multiple rows of six number lines.
for example 4 5 6 2 3 4. Then extract each number and assign them to a variable r1,r2,r3,r4,r5,r6 respectively to be used in a formula.
1 2 3
input_file.open("Q2.dat");
// where do I go from there?