Date: Mon, 6 Dec 1999 12:30:48 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Jude Dashiell cc: djgpp AT delorie DOT com Subject: Re: gcc and ansi.sys question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 5 Dec 1999, Jude Dashiell wrote: > row=2; > col=30; > gotoxy(row,col); > printf("natal chart locator"); > row=4; > col=3; > gotoxy(row,col); > printf("astrological"); > > My guess is that stdio.h and conio.h are fighting. All you need to do is to follow each `printf' by "fflush(stdout);". `printf' doesn't automatically flush its buffers unless the string it produces ends with a newline. > I'd like to do things > in such a way as to avoid conflict, so does gcc have ansi screen control > functions outside of conio.h that can replace gotoxy()? ANSI screen control is only available if you install the ANSI.SYS console driver on your machine. DJGPP doesn't support the ANSI escape sequences in its library (and neither does any other DOS compiler).