Sunday 11 January 2009

Write c program which display position of pointer in (x coordinate, y coordinate)?









Answer: #include”dos.h” #include”stdio.h” void main() { union REGS i,o; int x,y,k; //show mouse pointer i.x.ax=1; int86(0x33,&i,&o); while(!kbhit())  //its value

No comments:

Post a Comment