Newsgroups: comp.os.msdos.djgpp From: manni DOT heumann AT gmx DOT de (Manni Heumann) Subject: Re: Conflict between IOSTREAMs and VGA writes References: X-Newsreader: News Xpress 2.01 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 06 Aug 2000 17:48:32 GMT NNTP-Posting-Host: ppp36-303.hrz.uni-bielefeld.de Message-ID: <398da4f4_1@news.uni-bielefeld.de> X-Trace: 6 Aug 2000 19:48:36 +0200, ppp36-303.hrz.uni-bielefeld.de Lines: 33 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com [SNIP] > > In the first demo I wrote for these students, I used kbhit(). They said, >"What the h@#l is that?" So I wanted to try IOSTREAMs. Bad idea.... > Interesting that CONIO scrolls the screen on your system. It does not on >mine, or on the machines at work. I'm not sure that getch() actually does >the screen echo. I've always used it as if it doesn't, and it seems to >work OK for me in this case. > But I take your point, and stand thankfully corrected. > Don't! You are right, getch() does not echo the char it reads. That's getche(). There goes my explanation. Strange! [SNIP] > I've tried to explain to them that you can't do this any more, using >direct hardware access. One of them wants to abandon Windows and go back >to DOS! He says he wants to make a game using DJGPP, writing our own >low-level code. So we're going to try it, but if we get stuck I'll >definitely remember your advice about Allegro (which is something I haven't >even tried yet). Try it! You can even use it to create windows programs, if you have a windows compiler. Which should not be a problem in your case. Regards, -- Manni Life would be much easier if I had the source code.