Discussion Locked

help in c++ console application

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
hi! I want to write with colours in console application in Visual studio (I mean of course DOS) any help??

4 replies

by Stephen Fraser

I not sure now to do it any more but this might help you along your way.

I seem to remember using ansi escape characters to change colors.

Not positive though.

Hope this helps.

by jgoode

Good News- There is an API associated with console apps which will allow you to set the text color. Bad news- I recently ran across this question on another board and I cannot recall where.
I would recommend a search of the boards on Codeproject.com and Codeguru as well as MSDN.
Once you identify the API calls, your dilemma will be solved.

This discussion is closed to new replies.