For example
I know the first two variables I need to store areCode:12 5 24.5 76.2 11.2 43.7
13 7 13.2 54.9
14 9 11.7 11.5 23.2
How should I go about reading each line in the text file and storing those doubles when each line is of varied length.Code:"%d %d"
Mind you, those doubles will be added up and divided by the number of them and stored in a variable which may make things easier.
Thanks in advance.