Message-ID: <38EC805F.A4614898@student.fontys.nl> Date: Thu, 06 Apr 2000 14:17:35 +0200 From: Bart Verbakel 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 in Win DOSbox Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.85.143.60 X-Trace: 6 Apr 2000 14:24:11 +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 ???