gety
December 24, 2011
/*
Write a program in C for gety
*/
#include<graphics.h>
#include<conio.h>
main()
{
int gd = DETECT, gm, y;
char array[100];
initgraph(&gd, &gm, "C:\\TC\\BIN");
y = gety();
sprintf(array, "Current position of y = %d", y);
outtext(array);
getch();
closegraph();
return 0;
}
0 Comments