Announcement

Collapse
No announcement yet.

...scanf() missing floats

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ...scanf() missing floats

    I tried to use a scanf function to load a float and it of course failed. Checked the doc's and, sure enough, no %f or %lf. The math lib has an atof function
    ( typed as double but only appears to return a float); how about adding it to the scanf family?

  • #2
    The code will make the library VERY large, so it's best for the user to just call atof themselves.

    Comment

    Working...
    X