Path: utzoo!utgpu!watserv1!watmath!att!oucsace!bchurch From: bchurch@oucsace.cs.OHIOU.EDU (Bob Church) Newsgroups: comp.sys.apple2 Subject: Re: Keyin from C Summary: Missed the point Keywords: C Key Message-ID: <1440@oucsace.cs.OHIOU.EDU> Date: 12 Jun 90 02:52:27 GMT References: <1422@oucsace.cs.OHIOU.EDU> <4145@darkstar.ucsc.edu> Organization: Ohio University CS Dept., Athens Lines: 27 In article <4145@darkstar.ucsc.edu>, unknown@ucscb.UCSC.EDU (The Unknown User) writes: > > In article <1422@oucsace.cs.OHIOU.EDU> bchurch@oucsace.cs.OHIOU.EDU (Bob Church) writes: > >works but is obviously machine dependent. Is there a "true C" way of > >doing this? All of the C functions seem to depend upon return being > >pressed. > > Maybe I'm missing something, but are you talking about: > > scanf("%c",&charvariablename); > > That's a "true C" way of doing it. > > -- Have you actually tried this? On my system SCANF waits until return is pressed. What software are you using? ******************************************************************** * * * bob church bchurch@oucsace.cs.ohiou.edu * * * * If economics isn't an "exact" science why do computers crash * * so much more often than the stock market? * * bc * ********************************************************************