Re: [cc65] gets() in infinite loop

From: Greg King <greg.king41verizon.net>
Date: 2012-06-07 11:18:54
From: "Payton Byrd"; on Tuesday, June 05, 2012; at 09:50 PM-0400
>
> ....  However, it appears that gets() is reading stdin as EOF
> continuously.  Is there a way to reset stdin manually before I
> attempt to read the keyboard?

Use clearerr().

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jun 7 11:45:46 2012

This archive was generated by hypermail 2.1.8 : 2012-06-07 11:45:50 CEST