How do I change the console color?

How do I change the color of the console?
Last edited on
try this code:

you should have a <stdio>header

textcolor = MAGENTA;
textcolor = MAGENTA + BLINK;
It says

error: 'textcolor' was not declared in this scope
http://www.infernodevelopment.com/set-console-text-color


there is also a forum post here that discusses it doing it different ways,

http://www.cplusplus.com/forum/beginner/5830/
Last edited on
Thanks thats epic!!!
you should have a <stdlib>
...
wat compiler did you use?
Code::Blocks

why do you ask?
Topic archived. No new replies allowed.