How do i store double/integer from a text file into an array. I have used two columns one is the time and the other is amplitude, they both have 361 rows of doubles. I need to get the amplitude (which is the second column) into an array, any ideas how to do this? I am a noob at c++
I would approach this step by step. First write code to open the file and read the values, and display (cout) the amplitude value. When you've done that, modify the code to store the value instead of display it.