delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: ANSI to read the keyboard before ENTER is pressed |
Date: | 29 Apr 2002 10:21:56 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 14 |
Message-ID: | <aaj6s4$ke2$1@nets3.rz.RWTH-Aachen.DE> |
References: | <20020428235953 DOT 73775 DOT qmail AT web11306 DOT mail DOT yahoo DOT com> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 1020075716 20930 137.226.32.75 (29 Apr 2002 10:21:56 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 29 Apr 2002 10:21:56 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
PEDRO IZECKSOHN <izecksohn AT yahoo DOT com> wrote: > Hello, Is in ANSI some C function to read the keyboard > for some key pressed, (even the special keys), before the > ENTER is pressed ? No, because ANSI C doesn't even assume there is such a thing as a "keyboard" in existence on the machine the program will run on. If there is, it's up to the operating system to supply extensions to access it. A "curses" library is about the most portable way to do that. DJGPP has "PDcurses" for that. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |