///////////////////////////////////////////////////////////////////////////// // Flag Project.... // ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////// #include<constream.h> #include<dos.h> #include<graphics.h> void main(){ int gm , gd = DETECT; initgraph(&gd,&gm,"e:\\tc\\bgi"); cleardevice(); settextstyle(10,0,5); outtextxy(210,5,"FLAG"); setfillstyle(1,WHITE); bar(212,102,243,198); setfillstyle(11,GREEN); bar(246,101,359,199); line(245,100,245,200); ellipse(295,145,120,280,10,10); ellipse(294,145,120,280,10,10); ellipse(293,145,120,280,10,10); ellipse(293,144,120,280,10,10); settextstyle(8,0,1); outtextxy(295,125,"*"); rectangle(210,100,360,200); rectangle(210,200,218,300); setfillstyle(9,6); bar(212,202,216,298); for(int i=0;i<=15;i++) { setfillstyle(9,2); bar(198 ,298,228,308); setfillstyle(9,WHITE); bar(190,308,236,318); setfillstyle(9,2); bar(184,318,244,328); setfillstyle(9,WHITE); bar(176,328,252,338); setfillstyle(9,2); bar(168,338,260,348); } getch(); getch(); }
C Program To Create A Flag
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