////////////////////////////////////////////////////////////////////////// // Orange Project.... // /////////////////////////////////////////////////////////////////////////// #include<constream.h> #include<dos.h> #include<graphics.h> void main(){ int gm,gd = DETECT; int a=60,b=45,i,j; initgraph(&gd,&gm,"e:\\tc\\bgi"); cleardevice(); settextstyle(10,0,6.5); outtextxy(125,30,"ORANGE."); setcolor(12); for( i=45;i>=0;i--){ ellipse(280,199,0,360,a,b); a--;b--; } for(i=45;i>=0;i--){ setcolor(12); ellipse(279,199,0,360,a,b); a++;b++; } line(250,199,330,199); setcolor(RED); ellipse(279,198,0,360,a,b); setcolor(GREEN); j=165; for(i=160;i<=165;i++){ line(275,i,260,j); j++; } j=168; for(i=160;i<=165;i++){ line(285,i,298,j); j++; } for(i=278;i<=283;i++){ line(i,158,i,168); } // line(275,170,270,168); getch(); getch(); }
C Program To Create An Object
January 04, 2015
By:
Bhanu Namikaze
Bhanu Namikaze
Bhanu Namikaze is an Ethical Hacker, Security Analyst, Blogger, Web Developer and a Mechanical Engineer. He Enjoys writing articles, Blogging, Debugging Errors and Capture the Flags. Enjoy Learning; There is Nothing Like Absolute Defeat - Try and try until you Succeed.
No comments:
Post a Comment