From: ams AT ludd DOT luth DOT se (Martin Str|mberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Coloured text? Date: 25 Sep 1999 17:36:56 GMT Organization: University of Lulea, Sweden Lines: 21 Message-ID: <7sj17o$3k0$2@news.luth.se> References: <37ECFE01 DOT CF294CD8 AT icon DOT co DOT za> NNTP-Posting-Host: queeg.ludd.luth.se X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Willie Victor (wvictor AT icon DOT co DOT za) wrote: : Why don't I get coloured text output with the following? : : #include : #include : : int main() : { : textmode(C80); : clrscr(); : textcolor(BLUE); : printf("xxxxxxx"); : return(0); : } Because printf() doesn't support that, you want cprintf(). Right, MartinS