1.

Solve : C++ text?

Answer»

I NEED help changing the color of a certain cout statement. Here is the small code:

[highlight]cout << "Input: "; [/highlight]

cin &GT;> insert;

cout << endl;




I need to change the text *input: * into a different collor.I hope you guys can help me out.
If you're OUTPUTTING this text to a terminal device/window, do you know if that device even supports colour? If it does then you need to OUTPUT the escape codes required to change the colour. Google for your terminal device + escape codes + color.



Discussion

No Comment Found