EB> Can anyone tell me how to change the current color of cout ?
TM> No. cout doesn't have a color.
TM> cout is a stream object where you can write all kind of data, not
TM> their visualization.
Cout doesn't have a color, but if you use a Windows compiler you can change
the way that windows displays cout. If you use a DOS base compiler then you
need to try something like
#include
and
system("echo XXX");
I can't remember the echo code to change color.
--- Maximus/2 3.01
---------------
* Origin: After Hours BBS, Lebanon PA, (717)865-2636 (1:270/315)
|