I have been trying to figure this out for hours and have searched the internet extensively but cannot figure this out. All I need to do is to input the values from a data file located in my project folder into a one dimensional array. This is what I've tried.
The output shows 57 zeros, and should be 57 different numbers. Note that the numbers in the fila are decimals such as 0.44, does this affect anything? It is definitely not having trouble locating the file either because I have done several tests to debunk that such as if(!filename) then output error message, and it doesn't output error message.