C Program To Create YATCH

/////////////////////////////////////////////////////////////////////////////
//     Yatch 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,4);
outtextxy(190,15,"YATCH");
setcolor(4);
outtextxy(192,17,"YATCH");
setcolor(15);
// line(210,140,360,140);
 ellipse(280,130,190,350,80,12);
     setcolor(RED);
    //loop for filling
int  scol=208,row=143,ecol=352;
  for(int i=1;i<=47;i++){
  line(scol,row,ecol,row);
  scol++,row++,ecol--;
  }
// left side filling
 line(203,134,241,190);
 line(204,135,242,190);
 line(205,135,243,190);
 line(206,136,244,190);
 line(207,137,245,190);
 line(208,137,246,190);
 line(209,137,247,190);
 line(210,137,248,190);
 line(211,137,249,190);
 line(212,137,250,190);
 line(213,138,251,190);
 line(214,138,252,190);
 line(215,138,253,190);
 line(216,138,254,190);
// righ side filling
 line(358,134,320,190);
 line(357,134,319,190);
 line(356,135,318,190);
 line(355,135,317,190);
 line(354,135,316,190);
 line(353,136,315,190);
 line(352,136,314,190);
 line(351,136,313,190);
 line(350,137,312,190);
 line(349,137,311,190);
 line(348,137,310,190);
 line(347,137,309,190);
 line(346,138,308,190);
 line(345,138,307,190);
 line(344,138,306,190);
// up side filling
line(220,142,257,142);
line(220,141,241,141);
line(218,142,230,142);
line(218,140,230,140);
line(303,142,340,142);
line(319,141,341,141);
line(329,140,342,140);
line(336,139,342,139);

  setcolor(15);

 line(240,190,320,190);
 line(202,134,240,190);// left side line
 line(358,134,320,190);// right side line
line(280,110,265,141);
line(280,110,295,141);

setcolor(10);
    scol=266,row=141,ecol=294;
    for(i=1;i<=30;i++){
    line(scol,row,ecol,row);
    row--;
    if(i%2==0)
    {
    scol++,ecol--;
    }

    }




getch();
getch();
}
Bhanu Namikaze

Bhanu Namikaze is an Ethical Hacker, Web Developer, Student and Mechanical Engineer. He Enjoys writing articles, Blogging, Solving Errors and Social Networking. Feel Free to let me know any of your concerns about hacking or let me know if you need any more methods on hacking anything. Enjoy Learning

No comments:

Post a Comment