Different Colors in Console: How?
Greetings fellow forumers,
I remeber I started a similar thread on C# but since now I am using C++ I assume it will be different.
So how do I change that dull white color in the console window to, say, red or green?
Thanks!
Have a look at Tiffany Smith's nice Tetris clone AsciiRis which runs in a console window. The archive contains a vc6 project, the source, and an executable. [smile]
The Win32 function you're looking for is probably SetConsoleTextAttribute()
Taken from Sprites, sprites and more sprites!
The Win32 function you're looking for is probably SetConsoleTextAttribute()
Taken from Sprites, sprites and more sprites!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement