void gotoxy( int x, int y)
{
    COORD pos = { x, y };

   
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), pos);
}


void setcolor(int color, int bgcolor)

{

    color &= 0xf;

    bgcolor &= 0xf;

    SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), (bgcolor << 4) | color);

}


이거 두개 함수 내용들이 어떤 것을 뜻하고 무슨 역할을 하는지 자세히 좀 알려주실 수 있는 분계신가요?