I see wut u need.
1 2 3 4 5 6 7
|
void GotoXY(int coordX, int coordY)
{
COORD coord;
coord.X = coordX;
coord.Y = coordY;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
|
also #include <windows.h> to make it work
but it wont work the way you think it will. go figure how it works.
Last edited on
Krofna !
thank you very much, it works with these coordinates
GotoXY(4, 0)
Last edited on