delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/11/05:30:51

From: "Roger H." <rogerwh AT aa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Ascii Graphics
Date: Sat, 11 Jul 1998 02:33:15 -0700
Organization: Home
Lines: 17
Message-ID: <6o7ah7$9hu$1@slave1.aa.net>
References: <35A6CC9A DOT EAA AT ghg DOT net DOT extra>
NNTP-Posting-Host: 206.125.87.45
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

It is quite easy and if you are using Rhide look under the help menu for the
libc reference which lists all the functions.  Anyway, you use
textbackground(int color)  for the background color  and textcolor(int
color) for the color of the text itself.

R. Timm wrote in message <35A6CC9A DOT EAA AT ghg DOT net DOT extra>...
>How do I change the color of text which is printed to the screen in c++
>using djgpp?  For example, if I wanted to print a red A followed by a
>blue B and then a grey C or somesuch.  I need both the command and the
>header file which contains it.
>
>Ron Timm
>
>Remember to remove the extra something in my e-mail address if replying
>by e-mail


- Raw text -


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