Hello everybody, i am a noob programer and i was looking over a program code and came up some things that i couldn't figure out what exacly do they do. The code is:
int SetColor(int color)
{
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(hConsole, color);
}
and my question is about that 'HANDLE' and 'GetStdHanle()'.
i would appreciate if someone could post a link with functions in C::B.
Thank you for youre time.