Reading data from a file?

I'm trying to send data from a file ( line by line ) over the Internet. This file has numbers. Each line has three double numbers.
Example:
1.0020 -2.033 1.0032

Is there a simple way to extract these numbers and store them in other variables. I'm sending them as char though.
Topic archived. No new replies allowed.