delorie.com/archives/browse.cgi | search |
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 -- --
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |