how do i change the colour of the text in c+?
how do i change the colour of the text in c+?
Do a search at:
http://www.ProgrammersHeaven.com
Or try using google.
I found various zips and downloaded a few last night I believe.
The world is waiting. I must leave you now.
jesus christ, just answer the guy's question. Don't give him links to pointless sites so he could search hours and hours for something.
SideNote: I expect some nerdy programmer to copy and paste what I said into quote tags(you guys always do that)
Compiler: MingW(IDE: Bloodshed Dev-C++ 4.01)
Web Site: Zoo Crew
Forums: Zoo Boards
E-mail: [email protected]
"Do you wanna go to jail or do you wanna go home?!?!" - Alonzo(Training Day)
> just answer the guy's question.
We will. Just as long as he has tried first.
> Don't give him links to pointless sites so he could search hours and hours for something.
Why not?
This way he figures it out for himeself and has the gratification and knowledge of learning something on his own, instead of people "breast feeding" him.
The links weren't pointless in my opinion.
ProgrammersHeaven has a lot of useful information.
Google works wonders.
Nerdy hu? I guess I am a nerd. I have no problem with it either.I expect some nerdy programmer to copy and paste what I said into quote tags(you guys always do that)
I sense poor attitude me thinks...
side note:
I searched for something for about 2 weeks, and finally found it.
I was very satisfied and excited once I did.
The world is waiting. I must leave you now.
Bonny why dont you answer his question?
THATS WHAT I THOUGHT!!
and, about ur wondering why u always get flamed, you just answered that question.
"There are three kinds of people in the world...
Those that can count and those that can't."
//Neccessary header fileOriginally posted by Bermuda
how do i change the colour of the text in c+?
#include <conio.h>
//Change the text color
void textcolor(int Color);
//Change the background color
void textbackground(int Color);
//Print colored text (same syntax as printf() )
cprintf(...);
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
thanks for the answer guys. i couldn't get it. i was unable to find the header file that contained the code.
if not Borland (or compatibles), try Sunlight's tutorial:
http://sunlightd.virtualave.net/Wind...Q.html#GUISkin)
the tutorial includes instructions on the use of the API function:
SetConsoleTextAttribute();
think only with code.
write only with source.