Re: [cc65] input for C64

Date view Thread view Subject view

From: troy silvey (tbsilvey_at_juno.com)
Date: 2001-03-04 22:10:22


>There is no working file I/O for *ALL* CBM platforms. gets() and 
>puts() are file I/O (they write to standard output which is a file in C 
>notification), so they are not supposed to work.

To your credit, the puts() seems to work perfectly so far for the 64.
I was hoping gets() would too.

>If you need file I/O just for reading from the keyboard or writing to 
>the screen, I would suggest using the conio module instead. All conio 

I've tried to use some of the functions, but I havn't gotten the
complete hang of it yet. Results are still messy.
I'll study it more and try and put it to work.

>Second I do now get lots of complaints because programs using file
>I/O will link but do not work.

I know you're doing CC65 for fun, not profit so I hate to bring up
things that would cause you more work. So far CC65 has gone
along way to help me learn C. And even finding and working
around some of limits of CC65 has helped me learn.
(Though it might have been quicker to read all the docs first :)
You mentioned trying to impement some scanf features in a future
version. It seems to me that gets() would be a good alternative.
Data conversions could be done by other fuctions already included.
Would gets be any easier or compact to add than scanf ?

troy

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
----------------------------------------------------------------------
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:39 CET