Re: problem compiling code trying to add sscanf function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux