www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/12/04:24:17

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE30DEF19@probe-2.Acclaim-Euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: Text and graphics?
Date: Wed, 12 Aug 1998 09:23:05 +0100
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019