[cc65] scanf

Date view Thread view Subject view

From: Osman K Eroktay (oeroktay_at_Bayou.UH.EDU)
Date: 2000-02-06 09:19:02


Hi
I wrote a program which it needed a scanf instruction.  I think this
instruction is missing from library.  Instead I tried to use gets() and
convert it with atoi.  But it did not work properly.  [RETURN] must be
pressed twice and value returned was only one digit.  I did not try all
the alternatives available (getchar() etc.).  I wanted to ask you first
about this.  What should I use for numeric input in my programs?
Thanks

--
Osman K Eroktay
oeroktay_at_bayou.uh.edu

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:35 CET