New course! Every coder should learn Generative AI!
Try a free lesson0
in the header conio.h there is a function named gotoxy(y,x) that change console cursor according to x is lines and y is columns.
default position in console is x=1 and y=1 from top left corner