www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/28/12:25:44

Date: Tue, 27 Oct 1998 21:12:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: leroy <leroy152 AT yahoo DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: A fairly stupid question about text attributes
In-Reply-To: <3635B983.B3E9124D@yahoo.com>
Message-ID: <Pine.SUN.3.91.981027211212.8711X-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 27 Oct 1998, leroy wrote:

> I'm fairly new to DJGPP but I can't seem to work out a way of changing
> the text mode attributes for the background and foreground.

Make sure you call `cprintf' and `cputs' instead of `printf' and `puts' 
after changing the colors.

- Raw text -


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