Answers for "print color terminal c++"

C++
2

c++ terminal color

SetConsoleTextAttribute(console, ((int)background * 16) + (int)forground);
Posted by: Guest on May-29-2021
0

change colour of output to terminal c++

foreground background
black        30         40
red          31         41
green        32         42
yellow       33         43
blue         34         44
magenta      35         45
cyan         36         46
white        37         47
Posted by: Guest on October-20-2021

Code answers related to "print color terminal c++"

Browse Popular Code Answers by Language