Path: news.mv.net!newsfeed.mathworks.com!feeder.via.net!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail From: Kaos Newsgroups: comp.os.msdos.djgpp Subject: Re: textmode() and textcolor() in DJGPP Message-ID: References: <8p3stc$l0g$1 AT news6 DOT svr DOT pol DOT co DOT uk> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 36 Date: Wed, 06 Sep 2000 00:37:07 GMT NNTP-Posting-Host: 24.64.44.138 X-Complaints-To: abuse AT home DOT net X-Trace: news1.rdc1.ab.home.com 968200627 24.64.44.138 (Tue, 05 Sep 2000 17:37:07 PDT) NNTP-Posting-Date: Tue, 05 Sep 2000 17:37:07 PDT Organization: Excite AT Home - The Leader in Broadband Xref: news.mv.net comp.os.msdos.djgpp:103187 I believe that printf does not do colors... I know that conio.h has the cprintf function (same as printf, but it's the console printf) and it will handle colors. Kaos [Kevin Brown] On Tue, 5 Sep 2000 23:41:00 +0100, "Rosemary Rayne" wrote: ::For some reason I cannot get DJGPP to change the color of the text that it ::outputs to the screen. :: ::I use the lines: :: ::#include ::int main(void) { :: textmode(C80); :: textcolor(CYAN); :: printf("This should be cyan"); ::} :: ::Can anyone help me with this problem. :: ::Regards, :: ::Ed :: ::edward DOT rayne AT talk21 DOT com :: --- Kaos Anime Poster, Leecher, and Encoder. (alt.binaries.anime) (alt.binaries.multimedia.anime)