delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/28/17:15:49

Sender: nate AT cartsys DOT com
Message-ID: <360FFB5F.5A3AC226@cartsys.com>
Date: Mon, 28 Sep 1998 14:10:55 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: The Jorgensen Family <jorgs AT iafrica DOT com>
CC: djgpp AT delorie DOT com
Subject: Re: Help, my getch() and getchar() functions don't work properly!!!
References: <360E6FE5 DOT 51F931FB AT iafrica DOT com>

The Jorgensen Family wrote:
> 
> Help!!!!!
> 
> I've been doing a tutorial on C and I have gotten to this bit where you
> learn how to use the getch() and getchar() functions. The problem is
> that they don't work as they should. I even tried using my TurboC++
> compiler. It works on that. But when I compile with gcc the program does
> not print out any chars until a key that is being watched for is
> pressed. Then it prints all of they keys pressed. What is going on???

Read FAQ section 9.4; you don't give quite enough details but I suspect
it is relevant.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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