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