Mail Archives: djgpp/1999/12/06/06:51:46
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).
- Raw text -