Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "graphics.h"
- #include <math.h>
- #include <stdlib.h>
- #include <dos.h>
- #include <windows.h>
- #include <iostream>
- #include<time.h>
- using namespace std;
- int main(){
- initwindow(800, 600, "AXE", 200, 200);
- setbkcolor(20);
- cleardevice();
- //patrat
- line(200, 220, 200, 320);
- line(200, 220, 300, 220);
- line(300, 220, 300, 320);
- line(200, 320, 300, 320);
- //cercuri
- float raza = 12.4;
- circle(400, 200, raza);
- getch();
- closegraph();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement