If i have a string containing a definite count of numbers(float would be good) separated by spaces and of variable number of digits, let's say three such as "12.3 45 627.8" is there an easy way to read those numbers, and storing them into some predefined variables?
I was thinking about writing a program that would read the data until a space is encoutered, store it in a predefined variable and then continue, but it seemed rather stupid and too long.
I was thinking about writing a program that would read the data until a space is encoutered, store it in a predefined variable and then continue, but it seemed rather stupid and too long.
Comment