Re: [cc65] Input string routine for a line of data?

From: <silverdr1wfmh.org.pl>
Date: 2011-06-08 22:43:45
On 2011-06-08, at 17:46, Marc 'BlackJack' Rintsch wrote:

> Hi Joseph,
> 
>> This is my latest version of the example routine:
>> 
>> printf ("Type in name of file to compress: ");
>> fgets(f,17,stdin);
>> putchar ('\n');
>> strcat (f,",p");
>> 
>> Does it work onyour system?
> 
> It does not work reliably.  You left out an important call.  Hint: There 
> is a URL in the example given to you.  Follow it and try to understand 
> the pitfall.

The URL was kept there, especially for that purpose ;-)

But as on the 64 it seems to work I didn't want to continue with that while Mr. Potter doesn't want to listen.

Similarly as with requests about plain text plus bottom posting..

-- 
SD!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Jun 8 22:43:53 2011

This archive was generated by hypermail 2.1.8 : 2011-06-08 22:43:56 CEST