From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: conio.h question (hopefully a simple one) Date: Mon, 29 Dec 1997 01:06:54 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 28 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34A73DFE.30B1038A@cornell.edu> References: <34A1DD78 DOT E0CB38C4 AT compu DOT net> <34A1E387 DOT 6B9192BA AT alcyone DOT com> NNTP-Posting-Host: cu-dialup-0084.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Erik Max Francis wrote: > > QlowN wrote: > > > #include > > > > 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)? > it does. the original poster would benefit from looking at conio.h and use the color names such as BLUE, YELLOW etc. -- ---------------------------------------------------------------------- A. Sinan Unur Department of Policy Analysis and Management, College of Human Ecology, Cornell University, Ithaca, NY 14853, USA mailto:sinan DOT unur AT cornell DOT edu http://www.people.cornell.edu/pages/asu1/