User Tools

Site Tools


c:conio.h:gotoxy
click
to support this page (eg 0,42 € or so) Thanks.

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 [2015/08/10 09:45] (current)
Daniel Gohlke old revision restored (2015/07/30 00:10)
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}}
advertising
c/conio.h/gotoxy.txt · Last modified: 2015/08/10 09:45 by Daniel Gohlke

Impressum