| www.delorie.com/archives/browse.cgi | search |
| From: | The Jorgensen Family <jorgs AT iafrica DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Help, my getch() and getchar() functions don't work properly!!! |
| Date: | Sun, 27 Sep 1998 19:03:33 +0200 |
| Organization: | UUNET Internet Africa |
| Lines: | 9 |
| Message-ID: | <360E6FE5.51F931FB@iafrica.com> |
| NNTP-Posting-Host: | 196-31-108-142.iafrica.com |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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???
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |