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

From: Marc 'BlackJack' Rintsch <marc1rintsch.de>
Date: 2011-06-08 17:46:17
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.

Ciao,
	Marc 'BlackJack' Rintsch
-- 
“War is God's way of teaching Americans geography.”
                    -- Ambrose Bierce (1842 - 1914)

----------------------------------------------------------------------
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 17:46:53 2011

This archive was generated by hypermail 2.1.8 : 2011-06-08 17:46:56 CEST