Archived

This topic is now archived and is closed to further replies.

SSJ4Bardock

Text Color in C++ DOS Console - Argh!!!

Recommended Posts

Can someone please xplain to me how to change the color of a letter or a word in C++ DOS console mode? I''ve been trying to find out for 3 days now, with no luck. E-mail: platinumminds@hotmail.com AIM: SOB5555

Share this post


Link to post
Share on other sites
Include conio.h and use textcolor()/textbackground(), eg. textcolor(CYAN); textbackground(LIGHTRED); Then use cprintf/cputs/putch/whatever to output to the screen.


"This album was written, recorded and edited at Gröndal, Stockholm in the year of 2000. At this point in time money still ruled the world. Capitalistic thoughts were wide spread. From the sky filled with the fumes of a billionarie''s cigar to the deepest abyss drenched in nuclear waste. A rich kid was a happy kid, oh..dirty, filthy times. Let this be a reminder."
- Fireside, taken from back of the Elite album

Share this post


Link to post
Share on other sites