///////////////////////////////////////////////////////////////////////////// // Hammer Project.... // ///////////////////////////////////////////////////////////////////////////// #include<constream.h> #include<graphics.h> #include<dos.h> void main(){ int gm, gd = DETECT; initgraph(&gd,&gm,"e:\\tc\\bgi"); cleardevice(); settextstyle(10,0,5); outtextxy(160,10,"HAMMER"); int scol,srow,ecol,erow,i; setcolor(6); line(279,150,339,240); line(278,150,339,240); line(258,170,311,252); line(259,170,312,252); line(260,170,313,252); line(260,170,314,252); line(260,170,315,252); line(315,259,339,240); line(315,258,338,240); line(315,257,338,239); line(314,257,337,239); line(314,256,337,239); line(313,256,337,239); line(313,255,337,239); line(313,254,337,239); line(312,254,337,239); line(312,253,337,239); line(266,161,280,154); line(266,162,280,155); line(273,157,280,153); line(272,158,279,153); line(272,158,278,151); scol=258,ecol=315; srow=167,erow=250; for(i=1;i<=24;i++){ line(scol,srow,ecol,erow); line(scol-1,srow,ecol-1,erow); if(i%2==0){ srow--; erow--; } scol++; ecol++; } setcolor(15); line(280,150,340,240); line(255,167,315,260); line(315,260,340,239); ellipse(228,135,280,360,55,35); ellipse(280,160,100,160,60,45); line(238,170,230,185); line(230,185,215,196); line(189,163,206,150); line(206,150,222,146 ); line(214,196,190,164); line(270,117,280,118); line(280,118,284,115); line(284,115,290,111); line(283,135,298,123); line(289,111,298,114); line(299,122,298,115); getch(); }
C Program To Create A Hammer
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