Date: Thu, 11 Jul 1996 12:18:50 +0200 (IST) From: Eli Zaretskii To: randall williams Cc: djgpp AT delorie DOT com Subject: Re: gotoxy In-Reply-To: <4s27ju$5jl@news.ysu.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 11 Jul 1996, randall williams wrote: > I'm having the same problem. Below is a similar code fragment to what > I was using. On my system it fills the screen and then scrolls. You mix conio functions (gotoxy) with buffered I/O (printf). This is usually a bad idea, as the DJGPP FAQ explains in section 9.4. In your example program, use `cprintf' instead of `printf', and it will work as you expect. The program that started this thread used `cout', which is the same as `printf' as it uses bufferd I/O at its lower levels.