Sign in to follow this  
ErUs

Console ANSI colour

Recommended Posts

in C++ :) i need to append to string then just cout, but i dont know any of the escape sequences and cant find them.

Share this post


Link to post
Share on other sites
I think you should be able to use cout, I don't see why not.

However, I'm not certain the console of NT/9x handles ansi escape sequences right off the bat. In dos for example you had to load ansi.sys in order to support escape sequences. Might have to load some sort of ansi driver in newer windows too, don't quote me on that. Like stated earlier, windows has it's own console coloring handlers, and I'd recommend using those instead.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this