[comp.sys.mac.programmer] Think C 4.0 problems with scanf

smd@media-lab.media.mit.edu (Steve Drucker) (10/18/89)

I remember seeing a posting saying that someone had problems getting
the scanf routine to work right.  In that posting, the scanf routine
didn't work on numbers in the range of 0.0 to 0.1.  I'm having some
problems in that the scanf is not working for floats at all.  I'm
taking some code that works fine on some UNIX machines but the values
that I get after scanning a file or string are garbage. I've used the
debugger to look at the string that is being read in, and the variables
themselves, and it really doesn't work.  Usually, I suspect my own
programming in situations like this....but this seems to be a genuine
bug.  Any suggestions/patches?
-Steve Drucker

smd@media-lab.media.mit.edu (Steve Drucker) (10/18/89)

Some additional information.....I'm using the ANSI-881 library on
a Mac II. I just checked using the ANSI library, and that works much
better....now I only have the problem that was documented before which
I already have a patch to.  Has Symantec posted patches to the
libraries?
-Steve