daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest May 16th, 2018 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <graphics.h>
  2.  
  3. #include <stdlib.h>
  4.  
  5. #include <iostream.h>
  6.  
  7. main()
  8.  
  9. {
  10.  
  11. const float pi=3.1415;
  12.  
  13. initwindow(640,480);
  14.  
  15. int a=0,x,y;
  16.  
  17. while(a==0)
  18. {
  19. x=mousex( );
  20. delay(1);
  21. y=mousey( );
  22. delay(1);
  23.  
  24. if (1)
  25. lineto(x,y);
  26. };
  27.  
  28. system("pause");
  29. closegraph();
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top