//___________ WELCOME ALL OF YOU ON ROHIT TECH STUDY CHANNEL _____________//
/*>>>>>>>>>>>>>>>>>>>> C++ PROGRAM TO DRAW ANGRY BIRD <<<<<<<<<<<<<<<<<<<<<*/
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<dos.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm;
initgraph(&gd,&gm,"c:\\tc\\bgi");
setcolor(12);
ellipse(258,250,130,160,58,110); delay(150);
ellipse(230,240,160,190,30,80); delay(150);
ellipse(270,252,180,371,68,40); delay(150);
ellipse(295,233,30,60,40,80); delay(150);
ellipse(298,243,0,40,40,80); delay(150);
ellipse(264,160,15,90,25,30); delay(150);
ellipse(289,133,175,215,25,30); delay(150);
ellipse(246,146,40,90,25,10); delay(150);
ellipse(246,142,90,270,5,5); delay(150);
ellipse(246,153,40,90,10,5); delay(150);
ellipse(269,196,110,150,60,50); delay(150);
ellipse(289,233,60,90,50,80); delay(150);
setcolor(6);
line(227,203,270,213); delay(150);
line(270,213,310,204); delay(150);
line(227,215,270,223); delay(150);
line(270,223,310,217); delay(150);
line(227,203,227,217); delay(150);
line(310,217,310,204); delay(150);
setcolor(14);
ellipse(281,262,110,154,40,30); delay(150);
ellipse(232,259,15,50,55,33); delay(150);
line(244,250,264,255); delay(150);
line(264,255,284,252); delay(150);
ellipse(267,220,220,270,24,50); delay(150);
ellipse(257,243,290,340,24,30); delay(150);
setcolor(15);
ellipse(252,225,150,270,15,15); delay(150);
ellipse(280,227,270,36,15,15); delay(150);
line(267,223,267,235); delay(150);
circle(261,227,3); delay(150);
circle(273,228,3); delay(150);
ellipse(215,200,190,250,45,45); delay(150);
ellipse(166,251,40,80,45,45); delay(150);
ellipse(200,280,90,160,35,35); delay(150);
ellipse(162,233,280,330,45,35); delay(150);
setcolor(11);
settextstyle(5,0,6);
outtextxy(100,300,"ANGRY BIRD");
getch();
closegraph();
}
0 Comments