delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/25/00:16:42

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: conio.h question (hopefully a simple one)
Date: Wed, 24 Dec 1997 20:39:35 -0800
Organization: Alcyone Systems
Lines: 22
Message-ID: <34A1E387.6B9192BA@alcyone.com>
References: <34A1DD78 DOT E0CB38C4 AT compu DOT net>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

QlowN wrote:

> #include <conio.h>
> 
> void main (void)
> {
>  textbackground(0);
>  textcolor(7);
>  cprintf("This should be in color.");
> }

Should it?  I haven't use conio routines in a while, but doesn't
foreground 7, background 0 correspond to white on black (e.g., the
normal color)?

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm://+37.20.07/-121.53.38
                                     \
                       "Life may be / the product of imperfections."
                                   / (Marclo Gleiser)

- Raw text -


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