delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/08/15:02:25

Date: Tue, 8 Jun 1993 14:38 EST
From: "Wonkoo Kim, EE, U. of Pittsburgh" <WKIM AT vms DOT cis DOT pitt DOT edu>
Subject: Re: getchar without echo under graphics with libgrx
To: user4a AT par1 DOT zfe DOT siemens DOT DE, djgpp AT sun DOT soe DOT clarkson DOT EDU

>Date: Tue, 8 Jun 93 16:22:39 +0200
>From: user4a AT par1 DOT zfe DOT siemens DOT DE (Xavier Priem)
>Subject: getchar without echo under graphics with libgrx
>
>Is there a possibility to get a character from the stdin without any echo 
>under the graphic mode as for example with the libgrx for gcc ?

Use getkey() or getch() in libpc.a.(link with -lpc)  The function prototype for
getch() was missing in include/*.h files, so declare it exlicitly by yourself.
(char *getch(void);) 

>I am also interested for a solution under text mode... it should be the same 
>in fact ?

Yup.

Wonkoo.

- Raw text -


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