colors

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2004
Posts: 19
Reputation: matika is an unknown quantity at this point 
Solved Threads: 0
matika matika is offline Offline
Newbie Poster

colors

 
0
  #1
Aug 27th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

Re: colors

 
0
  #2
Aug 28th, 2004
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
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC