Message-ID: <361B9CF8.20D1BBEC@montana.com> Date: Wed, 07 Oct 1998 10:55:21 -0600 From: bowman X-Mailer: Mozilla 4.5b2 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: How to graphically locate text in standard screen terminal mode References: <199810071239 DOT OAA09566 AT acp3bf DOT physik DOT rwth-aachen DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote: > > This is incorrect. gotoxy() has next to no influence at all on printf(). #include #include #include This short test works for me, both on a pure DOS system, and in a DOS window under Win95. Note that you must flush the output to insure the string is actually written to the console at the current cursor position, and not buffered. --------------------------------- test.c ---------------------------------- int main(void) { gotoxy(1,1); printf("Hello"); fflush(stdout); gotoxy(40,12); printf("World"); fflush(stdout); gotoxy(65,23); fflush(stdout); printf("!!!"); return 0; }