how do you make colored text with visual C++?

the title pretty much says it all. ive been trying to figure out how to change the colors of both the background and the text when usuing VC++ 2008, but i havnt had any success.

also, is there a way to get the programs to launch in anything other than command prompt?

thank you in advance for your time and help ^_^
You can make programs run with Windows/other stuff, but you need to download their SDK etc, and it is also a lot more complicated.

You could try using ANSI color codes for changing colors in the console window, but I haven't tried that personally.
1
2
use this:
system("color a");

http://www.cplusplus.com/forum/articles/7/
Last edited on
Topic archived. No new replies allowed.