Categories
How to change font color in console application?
Need to change font color in C++ console program. Help me please.
Answer the question
In order to leave comments, you need to log in
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(hConsole, color);
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question