I found this function:
I would like to use this for my program.
void gotoxy(int x, int y)
{
COORD coord;
coord.X = x;
coord.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
First of all, is the "COORD coord" neccesary? :/
and "GetStdHandle(STD_OUTPUT_HANDLE), coord)" What's this part? What does it really do?
I mean, get std handle... std handle is...?