www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/25/09:08:42

Message-ID: <36333E95.C2F53D89@montana.com>
Date: Sun, 25 Oct 1998 08:07:01 -0700
From: bowman <bowman AT montana DOT com>
X-Mailer: Mozilla 4.5b2 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: a Very Newbie question...
References: <VwDY1.1816$sP DOT 5987 AT newsfeed DOT slurp DOT net>
Reply-To: djgpp AT delorie DOT com


Cuculain wrote:
> 
> Is there a header or anything I could use to make simple, basic colorized
> text outputs, just as like, say, in basicese, "color 15,0"?

hopefully you have 'info' installed. If not, that is your first step,
since that
tool is going to be your best friend.

from the dos prompt, 

>info libc a screenputstring [Enter]

you can also hit the 'n' and 'p' keys to move back and forth to other
functions in
the 'Screen*' family. 

while you are there, you might want to look at 'textattr' and its
friends, as well as
cprintf.

The easiest way to see the whole range of functions and defines you
might be interested
in is to go to PATH\include, where PATH is c:\djgpp, or whereever you
put the djgpp
packages, and examine the two files, 'pc.h' and 'conio.h'.

The usual disclaimer: some of the functions will be platform dependent,
and may not port
too well, especially the pc.h types.

- Raw text -


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