FAQ: Cout and textcolor question...
I use Borland C++ Builder and was wondering if there was any way to get cout and textcolor() to work together? If i set a certain textcolor and then use cout to display something, the text remains the default console color. The only way i have found to change the color of the text is to use printf, but I hear it is not good to be using printf and cout in the same application. Can anyone help me out? Thanks
download "Colors in console" and peter.h, the header allows u to do this, and colors in console is a program i wrote to demonstrate how to use it.