Computer Science Canada

How to change colour of font?

Author:  ownageprince [ Tue Jan 16, 2007 6:42 pm ]
Post subject:  How to change colour of font?

Hello All!
I was wondering how to change the font colour in Micrsoft Visual C++
I am making a connect four so I need to have two different colours indicating player 1 and player 2.
Thanks!

Author:  ericfourfour [ Wed Jan 17, 2007 1:00 am ]
Post subject:  RE:How to change colour of font?

I believe there is a tutorial on [url]gamedev.net[/url] called something like c++ workshop that goes through this in one of the lessons. You are using the command line right?

Might I recommend different characters for the players instead?

Author:  md [ Wed Jan 17, 2007 12:57 pm ]
Post subject:  RE:How to change colour of font?

Changing the color is part of the console API. I suggest searching MSDN. It pretty much covers everything you could possibly want to know about windows so you should be able to find what your looking for.

Author:  ownageprince [ Wed Jan 17, 2007 6:22 pm ]
Post subject:  Re: How to change colour of font?

Thanks for replys guys well at the moment i am using different characters for each players but you know since this an ISU i wanted to do something that is not taught in the class. i look up the tutorial though!


: