Hello, I have a text file with two columns that has 361 pairs of double values, and I need to transfer the values in the second column into an array. I've managed to read the file successfully however I am struggling to put the double values into an array.
PS I'm a noob, can you add short comments explaining certain lines.

Example of my text file:

col1:                col2:
0.0123            0.536
2.0234           12.543
8.0432            67.245
5.0698            96.654

Thank you in advance.