[C / C ] Gotoxy() in Linux – Gotoxy() in Linux

In linux no gotoxy available functions we need to rebuild it as follows:

void gotoxy(int x,int y)
{
	printf("%c[%d;%df",0x1B,y,x);
}

source: ccs1.hnue.edu.vn/son/forum