SyntaxFix
Write A Post
Hire A Developer
Questions
SetConsoleTextAttribute.
HANDLE hStdOut = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(hStdOut, FOREGROUND_RED | BACKGROUND_BLUE | BACKGROUND_GREEN | BACKGROUND_RED);
This would produce red text on a white background.