RE: [cc65] Get user input? Floating point?

From: MagerValp <MagerValp1cling.gu.se>
Date: 2004-09-25 16:50:01
>>>>> "RW" == Raj Wurttemberg <rajw@c64.us> writes:

RW> What about inputting a floating point number? I found an atoi()
RW> function, but no atof(). Actually I don't see any floating point
RW> functions. It's not really that big of a deal if floating point
RW> stuff isn't in there... I don't have a real use for it, it's just
RW> in my book as I learn. :)

Try sscanf with %f.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Sep 25 16:50:05 2004

This archive was generated by hypermail 2.1.8 : 2004-09-25 16:50:13 CEST