Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <graphics.h>
- using namespace std;
- int main()
- {
- cout << "Hello world!" << endl;
- initwindow(800,600);
- setfillstyle(1,5);
- setlinestyle(0,0,3);
- settextjustify(0,0);
- outtextxy(300,300,"TEXT");
- settextjustify(1,2);
- outtextxy(400,200,"TEXT1");
- settextjustify(2,1);
- outtextxy(500,300,"TEXT2");
- settextjustify(2,2);
- outtextxy(400,400,"TEXT");
- arc(500,200,135,315,141);
- arc(300,400,315,135,141);
- arc(500,400,45,225,141);
- arc(300,200,225,45,141);
- floodfill(300,300,15);
- floodfill(500,300,15);
- floodfill(400,200,15);
- floodfill(400,400,15);
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement