I can't figure out how to read mixed integer and float data from a text file. I would like to use sscanf if possible but can't figure out how to read in the numerical data.
An example of the file looks like this:
Billy 6.0 8.0
Bob 20 40
Maynard 0.69 0.98
Bubba 0 10
Bunch 1 7
I would like to be able to write the numerical data out to a file in floating point format and ignore the names.
Thanks in advance!