954,141 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

colors

working on a project on c++ consol application and need to change the color of a specific letter in a text on the output screen
4 example :

VIew
pllz help
thx
:confused:

matika
Newbie Poster
19 posts since May 2004
Reputation Points: 15
Solved Threads: 0
 

Use conio.h

TextColor(int)
BackgroundColor(int)

values range from 0-15, with 0 being black and 15 white.Open conio.h and you will find the entire list of colors there. :).Have fun

FireNet
Posting Whiz in Training
258 posts since May 2004
Reputation Points: 108
Solved Threads: 7
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You