| delorie.com/archives/browse.cgi | search |
| Message-ID: | <38EC822B.230D4ECE@cafeetje.nl> |
| Date: | Thu, 06 Apr 2000 14:25:16 +0200 |
| From: | Bart Verbakel <B DOT Verbakel-ab AT student DOT fontys DOT nl> |
| X-Mailer: | Mozilla 4.7 [en] (Win98; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | getch() with DJGPP |
| NNTP-Posting-Host: | 145.85.143.60 |
| X-Trace: | 6 Apr 2000 14:31:52 +0100, 145.85.143.60 |
| Lines: | 14 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I am trying to create a loop like this:
while ( getch() != 'q' )
printf("Neverending textstring");
This is SUPPOSED to put the string to stdout,
until I touch the 'q' key.
But, compiling this with DJGPP and running it in an DOS-box
under Win98, It does not!!
After each 'printf' it waits for me to press "RETURN"
How do I solve this problem ???
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |