Initialize the mouse pointer in turbo c/c++ compiler

Hi,Friends i want to show that how to initialize mouse in c language and in turbo c/c++ compiler
code is here.
  1. #include < stdio.h >  
  2. #include < conio.h >   
  3. #include < dos.h >  
  4. union REGS in , out;  
  5. void mouse_setposi(int * xpos, int * ypos)  
  6. {  
  7.     in .x.ax = 4; in .x.cx = * xpos; in .x.dx = * ypos;  
  8.     int86(51, & in , & out);  
  9. }  
  10. int mouse_callmouse()   
  11. {   
  12.     in .x.ax = 1;  
  13.     int86(51, & in , & out);  
  14.     return 1;  
  15. }  
  16. void main()  
  17. {  
  18.     int a, b, xpos, ypos, click;  
  19.     clrscr();  
  20.     a = 300;  
  21.     b = 80;  
  22.     mouse_setposi( & a, & b);  
  23.     mouse_callmouse();  
  24.     getch();  
  25. }  
Now copy this code and paste into any .c file and save in "C:\TURBOC3\BIN" directory and you can download zip file that have already a .c file paste it into directory. after that open turbo c/c++ compiler and open this file and run ... :)