Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to change colour of font?
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ownageprince




PostPosted: 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!
Sponsor
Sponsor
Sponsor
sponsor
ericfourfour




PostPosted: 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?
md




PostPosted: 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.
ownageprince




PostPosted: 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!
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: