Answers for "c++ terminal output color codes"

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++

cout << "\033[1;31mbold red text\033[0m\n";
Posted by: Guest on October-20-2021

Browse Popular Code Answers by Language