problem compiling code trying to add sscanf function

Eljay Love-Jensen eljay@adobe.com
Wed Mar 24 22:46:00 GMT 2004


Is there any reason you have...
x = sscanf(out, "%lf", &fnum);
...instead of...
x = sscanf(out, "%f", &fnum);
...?

The "%lf" indicates a double.
But fnum is a float.

Mismatch error.

--Eljay



More information about the Gcc-help mailing list