delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/09/15:26:00

From: jkeene AT unlinfo DOT unl DOT edu (Jon Keene)
Subject: Re: What stupid error am I making? (fwd)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 9 May 1995 13:14:14 -0500 (CDT)

 Dear All,
    I've gotten many responses to my question regarding
 	scanf("%c", &option);
 almost all of which work.  The most straightforward fix is to
 insert a blank at the beginning of the format string.  
 Someone else suggested using getkey(), which I like, but which
 isn't portable.  Is there a similar function on UNIX?
 
 Big thanks to all who replied!
 Jon
 -- 
 


-- 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019