Associate
Hiya there...
I'm having a right trouble over coming a problem i have encountered. Bascially, I have got a list of points in a text file. Something along these lines:
I need to parse the text file and place each of the float values in an array of points (which contain an x and y value). Has anybody got any suggestions of how to do this or links to tutorials?
I just can't seem to get my head around it and google isn't being very nice to me today.
Cheers for any help!
Danny.
I'm having a right trouble over coming a problem i have encountered. Bascially, I have got a list of points in a text file. Something along these lines:
Code:
v -63.939293 53.000392
v 34.543432 43.434523
....
...
..
v 34.543432 43.434523
EOF
I need to parse the text file and place each of the float values in an array of points (which contain an x and y value). Has anybody got any suggestions of how to do this or links to tutorials?
I just can't seem to get my head around it and google isn't being very nice to me today.
Cheers for any help!
Danny.