I know how to change the console text color using this code
HANDLE hConsole;
hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(hConsole, ###)
But suppose I need to change colors frequently and on different output lines. Is there a shorter way to do it, like
cout << "text";
???
Rant: Google searching for C++ commands sucks royal :eek: /rant