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

Started by
0 comments, last by SSJ4Bardock 23 years, 1 month ago
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
E-mail: platinumminds@hotmail.comAIM: SOB5555
Advertisement
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

This topic is closed to new replies.

Advertisement