Advertisement
Guest User

niki

a guest
Feb 20th, 2020
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. #include <iostream>
  2. #include <graphics.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. cout << "Hello world!" << endl;
  9. initwindow(800,600);
  10. setfillstyle(1,5);
  11. setlinestyle(0,0,3);
  12. settextjustify(0,0);
  13. outtextxy(300,300,"TEXT");
  14. settextjustify(1,2);
  15. outtextxy(400,200,"TEXT1");
  16. settextjustify(2,1);
  17. outtextxy(500,300,"TEXT2");
  18. settextjustify(2,2);
  19. outtextxy(400,400,"TEXT");
  20.  
  21.  
  22.  
  23.  
  24. arc(500,200,135,315,141);
  25. arc(300,400,315,135,141);
  26. arc(500,400,45,225,141);
  27. arc(300,200,225,45,141);
  28. floodfill(300,300,15);
  29. floodfill(500,300,15);
  30. floodfill(400,200,15);
  31. floodfill(400,400,15);
  32.  
  33.  
  34. getch();
  35. return 0;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement