Mail Archives: djgpp/1998/08/12/04:24:17
George Foot writes:
> `printf' is not documented to cooperate with `gotoxy'. Mixing
> functions from conio with functions from stdio is a bad idea in
> general, simply because they're not guaranteed to work together
> properly.
Absolutely, but in the context of this discussion (doing text output
in graphics mode), there is the even more serious consideration that
the conio and stdio functions may well not work at all! This is
entirely at the discretion of your video BIOS: some do provide these
routines, but many do not. If you call printf() in any graphics modes
higher than the standard VGA resolutions, be prepared for the fact
that your program will display garbage on a significant percentage of
machines...
Shawn.
- Raw text -