Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!bionet!agate!darkstar!ucscb.UCSC.EDU!unknown From: unknown@ucscb.UCSC.EDU (The Unknown User) Newsgroups: comp.sys.apple2 Subject: Re: Keyin from C Keywords: C Key Message-ID: <4145@darkstar.ucsc.edu> Date: 7 Jun 90 01:52:12 GMT References: <1422@oucsace.cs.OHIOU.EDU> Sender: usenet@darkstar.ucsc.edu Organization: UCSC Open Access Lines: 17 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. -- _ __ __ __ _ /-------------------------------\ /_\ |__| | __|(GS) |_| |_ \ / |_| | unknown@ucscb.ucsc.edu | / \ | |__ |__ | |__ \/ | \ | unknown%darkside.com@ames.arpa | Computer engineering student seeking a job. \-------------------------------/