From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: simple question re: conio.h Date: Thu, 15 Jan 1998 08:44:07 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 28 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34BE12A7.B8BFBEDD@cornell.edu> References: <34BD8993 DOT 35DA AT primenet DOT com> NNTP-Posting-Host: cu-dialup-0014.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 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 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/