How do I change the colour of my text in a DOS program (or is this possible...?)
Thanks
-Chris
This is a discussion on How do I... within the C++ Programming forums, part of the General Programming Boards category; 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
Please direct all complaints regarding this post to the nearest brick wallHave a nice day.
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.
Does anybody know how to do this with cout?
Please direct all complaints regarding this post to the nearest brick wallHave a nice day.