Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #include "graphics.h"
  2. #include <math.h>
  3. #include <stdlib.h>
  4. #include <dos.h>
  5. #include <windows.h>
  6. #include <iostream>
  7. #include<time.h>
  8. using namespace std;
  9.  
  10.  
  11.  
  12. int main(){
  13.  
  14. initwindow(800, 600, "AXE", 200, 200);
  15. setbkcolor(20);
  16. cleardevice();
  17.  
  18. //patrat
  19.  
  20. line(200, 220, 200, 320);
  21. line(200, 220, 300, 220);
  22. line(300, 220, 300, 320);
  23. line(200, 320, 300, 320);
  24.  
  25.  
  26. //cercuri
  27. float raza = 12.4;
  28.  
  29. circle(400, 200, raza);
  30.  
  31.  
  32. getch();
  33. closegraph();
  34. return 0;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement