Mail Archives: djgpp/1998/01/15/09:04:21
Smith A. Cat wrote:
> Has anyone got a code fragment that uses conio.h functions to get
> colored text?? When I try to use them I ALWAYS get the default colors
> in effect at the program startup, I can't set the colors!!?? I can set
> the lines to this and that, and I can gotoxy(), but I can't set the
> colors?!?!?
do you mean to say this does not work:
#include <conio.h>
int main(void)
{
textcolor(BLUE);
cputs("BLUE\r");
return 0;
}
i find that hard to believe.
--
----------------------------------------------------------------------
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 -