I have a text file as follows: -0.891 0.893 1.022 . . i.e. a list of numbers. I want to be able to read in each line and store it in a float array, so i can perform some math operations on it. how do I do this. Thanks, Patrick.
Peter den Haan
posted 15 years ago
Please don't crosspost - people will waste their time giving duplicate answers. I/O was the right forum for this. - Peter