Ok I want to read 30 numbers from a text file "temperature.txt" into an array capable of holding 30 values [0-29].
Each number is on a seperate line
34
67
63
etc...
so array[0] = 34
array[1] = 67
array[2] = 63
etc...
Problem is i have no idea on how to read from a file, read each line one after the other while saving each number into the array.
Please help.