On Wednesday 06 June 2012, you wrote: > I am having a problem that after doing a lot of file manipulation, gets() > no longer functions correctly. I'm not using the posix file functions, but > the cbm_* stuff, so I wouldn't expect stdin to be affected. However, it > appears that gets() is reading stdin as EOF continuously. Is there a way > to manually reset stdin before I attempt to read the keyboard? you can not mix the cbm_ functions and the standard i/o functions, that will give various strange side effects. and for reading the keyboard you want to use conio anyways. -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org Rarely is the question asked: Is our children learning? <George W. Bush> ---------------------------------------------------------------------- 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 6 08:14:36 2012
This archive was generated by hypermail 2.1.8 : 2012-06-06 08:14:42 CEST