Skip to content
Thomas Foster edited this page Mar 22, 2021 · 7 revisions

Function   Positions cursor in text window.

Syntaxvoid gotoxy(int x, int y);

Prototype in   conio.h

Remarks

gotoxy moves the cursor to the given position in the current text window. If the coordinates are in any way invalid, the call to gotoxy is ignored. An example of this is a call to gotoxy(40, 30) when (35, 25) is the bottom right position in the window.

Header Files

Clone this wiki locally