User Tools

Site Tools


c:conio.h:gotoxy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:conio.h:gotoxy [2015/08/10 04:57]
122.52.123.215 [description of gotoxy]
c:conio.h:gotoxy [2024/02/16 01:05] (current)
Line 4: Line 4:
 </code> </code>
  
 +==== description of gotoxy ====
 + places cursor at a desired location on screen.
  
  
 +<code c>
 +#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;
 +}
 +</code>
  
 ===== output of gotoxy c example ===== ===== output of gotoxy c example =====
 {{:c:conio.h:gotoxy.png?nolink|gotoxy example output in cmd}} {{:c:conio.h:gotoxy.png?nolink|gotoxy example output in cmd}}

on the occasion of the current invasion of Russia in Ukraine

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

Impressum Datenschutz