Anyone know if it's possible to change the color of text in
the console with C++? I know how to do it with assembly
but have never tried with C++.
Thanks
Printable View
Anyone know if it's possible to change the color of text in
the console with C++? I know how to do it with assembly
but have never tried with C++.
Thanks
SetConsoleTextAttribute() will do it...Im sorry but I don't have an example at the moment. If you search for this you should find a lot of results. :)
thx steve!
do you have any idea whether or not that function allows me to
color specific words? kinda like the redhat linux console?
thx again Steve, I found an example on MSDN and i'm gonna
try a few things. If anyone is interested, here is the URL of the
example code on microsoft's site.
the colors are kinda ugly however, i'll have to see what else
is possible with this function
Console colors, text, background