some questions...

How do we give colour to the text?

How do we set color to the background?
If on Windows SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), color )
where color is a 2byte number, the higher byte gives the background, the lower byte gives text color eg: 0x0C is red text (0xC) in black background (0)

http://msdn.microsoft.com/en-us/library/ms686047.aspx
thank you....
Topic archived. No new replies allowed.