www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/11/09:59:42

From: alane AT wozzle DOT linet DOT org
Subject: Re: getch()
To: WKIM AT vms DOT cis DOT pitt DOT edu (Wonkoo Kim, EE,
U. of Pittsburgh)
Date: Sat, 8 May 1993 23:50:49 +0000 (EDT)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> So, I think the following line should be added into the pc.h file in the gcc 
> include subdir:
> 
> char	getch(void);
> 
> Then to use this getch() function, include <pc.h> and link with -lpc

Ahem... not quite. You should #include <gppconio.h>, which _does_ declare
getch(), and all the other Borland C conio.h functions. I wrote a complete
set - I think everything in conio.h is in there.

-- 
J. Alan Eldridge (alane AT wozzle DOT linet DOT org)
                 (also on Fidonet: 1:272/38.473)

- Raw text -


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