| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | "Fausto Arinos de A. Barbuto" <fbarbuto2002 DOT no AT w1 DOT ca DOT vip DOT scd DOT yahoo DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Function kbhit()? |
| Date: | Mon, 19 Jul 2004 21:24:39 -0600 |
| Organization: | Knights of the Round Table |
| Lines: | 22 |
| Message-ID: | <2m3hjoFibqajU1@uni-berlin.de> |
| Mime-Version: | 1.0 |
| X-Trace: | news.uni-berlin.de duZ5pgpOe3xL9BTSPUxz5AsyYDq5st1WC3iAYT9w+mLr/k0Yfm |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2800.1437 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1441 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi,
I am porting an old C code to GCC. It works very well with Borland C 3.1
and although it compiles and runs with gcc, it doesn't work as intended.
After much tinkering with the code, I found out that the problem is in a
statement that contains the kbhit() function. GCC didn't complain about
it during compilation though, hence I assume that kbhit() exists in GCC
-- it is I who can't use it properly. Any hints? Your help will be very much
appreciated.
TIA,
---Fausto
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05/07/2004
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |