///////////////////////////////////////////////////////////////////////////// // Axe Project.... ///////////////////////////////////////////////////////////////////////////// #include<constream.h> #include<graphics.h> #include<dos.h> int bars(int,int,int,int); void main(){ int gm, gd = DETECT; initgraph(&gd,&gm,"e:\\tc\\bgi"); cleardevice(); settextstyle(10,0,6); outtextxy(185,10,"Axe"); int scol,srow,ecol,erow,i,j,col,row; ellipse(220,208,150,290,35,35); line(286,155,230,243); setcolor(7); col=34,row=34; for(i=1;i<=18;i++){ ellipse(220,208,150,290,col,row); ellipse(220+1,208,150,290,col,row); col--,row--; } line(260,130,340,210); // top line line(240,150,320,230);//bottom line setcolor(7); scol=268,srow=181,ecol=230,erow=242; for(i=1;i<=20;i++){ line(scol,srow,ecol,erow); line(scol+1,srow+1,ecol+1,erow+1); srow--; erow--; if(i%2==0){ ecol-=2; scol+=2; } } setcolor(6); col=241,row=229; for(i=0;i<=38;i++){ line(col,150,320,row); col++, row--; } scol=321,srow=192,ecol=321,erow=229; for(i=1;i<=19;i++){ line(scol,srow,ecol,erow); scol++,srow++,ecol++,erow--; } scol=240,row=149,ecol=278; for(i=1;i<=19;i++){ line(scol,row,ecol,row); scol++; row--; ecol--; } setcolor(15); line(260,130,190,190); scol=238,srow=150,ecol=190,erow=192; setcolor(7); for(i=1;i<26;i++){ line(scol,srow,ecol,erow); line(scol+1,srow+1,ecol+1,erow+1 ); line(scol+2,srow+2,ecol+2,erow+2); srow++,erow++; if(i%2==0){ scol+=2,ecol+=2; srow+=1; erow+=1; } } setcolor(7); line(239,150,267,178); line(239,151,266,178); line(238,151,265,178); line(237,151,264,178); line(237,152,264,179); line(236,152,263,179); line(236,153,263,180); line(235,153,262,180); line(234,153,261,180); line(234,154,261,181); line(234,155,261,182); setcolor(15); line(286,155,230,243); getch(); getch(); }
C Program For Creating AXE
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