User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:gotoxy

This is an old revision of the document!


gotoxy

void gotoxy( int x, int y);

description of gotoxy

places cursor at a desired location on screen.

#include<stdio.h>
#include<conio.h>
 
int main( void )
{
   int x, y;
   x = 42;
   y = 42;
   clrscr();
   gotoxy(x, y);
 
   printf("gotoxy jumps to cursor position x42 y42.");
 
   getch();
   return 0;
}

output of gotoxy c example

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/conio.h/gotoxy.1360428477.txt · Last modified: 2024/02/16 01:03 (external edit)

Impressum Datenschutz