Mail Archives: djgpp/1997/12/29/01:32:07
Erik Max Francis wrote:
>
> 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)?
>
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/
- Raw text -