This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sprintf outup is "???"

All,

I've used sprintf with no problems many times. But in my current program when I try and print out a floating point number I just get question marks.

sprintf(buffer, "%f", 4.1);

After running that line, buffer contains the string: "???"

Is there maybe a compiler option that is disabling floating point?

Thanks,
Matt

0