[comp.sys.mac.programmer] THINK C scanf problem again

fnwlr1@acad3.alaska.edu (RUTHERFORD WALTER L) (03/26/91)

 I've read some of the postings about problems with scanf() in THINK C
and even went so far as to download the fixes from sumex, but the desc-
riptions of the problems they fixed didn't appear to be the same problems
I have been seeing. Not being a skilled Mac programmer (yet) I fall back
on old tried and true methods for debugging - like inserting a line to
wait for input from the keyboard before continuing. At first I thought
that I had forgotten the correct syntax for scanf(), but the exact same
program runs on the VAX at the University with no trouble while the one
on the Mac seems to ignore scanf() altogether. It doesn't seem to matter
the type of argument I am scanning for - except scanf()ing for a string
is usually fatal (bus error + locked keyboard).
 Does this sound familiar to anyone? The really strange part is I am sure
that I have gotten scanf() to work on another occasion in another program
(which I can't find on disk anymore).


---------------------------------------------------------------------
      Walter Rutherford
       P.O. Box 83273          \ /    Computers are NOT intelligent;
   Fairbanks, Alaska 99708    - X -
                               / \      they just think they are!
   fnwlr1@acad3.alaska.edu
---------------------------------------------------------------------