Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Color changing

Status
Not open for further replies.

PrograMan

Programmer
Jul 21, 2001
59
US
How can I change the color of text in a console program in C++?
 
Check out the APIs:
-FillConsoleOutputAttribute
-SetConsoleTextAttribute
-WriteConsoleOutputAttribute

You can find some samples in MSDN when looking up this keyword.

Hope this helps,
s-)

Blessed is he who in the name of justice and good will, shepards the week through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top