Hi, I know this question has been around since forever but because of this I have no clue of which is the correct way of doing the following:
I have a file with numerical data store in columns
1 2 3 4 5 6 7 8
File
time voltage current
1 1.1 0.1
2 1.2 0.12
3 1.1 0.13
4 1.4 0.14
5 1.2 0.11
6 1.1 0.12
I want to store this data to some kind of variable: maybe an array[][][] or an array of struct{double a;double b; double c;}. My goal is to have an array of numbers for each column.