How do I change the colour of my text in a DOS program (or is this possible...?)
Thanks
-Chris
How do I change the colour of my text in a DOS program (or is this possible...?)
Thanks
-Chris
It depends on your compiler. My DOS compiler, Borland 3.1, has a special cprintf() function that prints in color if you set it beforehand with textcolor() and textbackground(). I don't know how you'd do it with cout, though.