C Program To Create XBOX

/////////////////////////////////////////////////////////////////////////////
//     X-Box Project....                       //
/////////////////////////////////////////////////////////////////////////////
 
#include<constream.h>
#include<graphics.h>
#include<dos.h>
void main(){
 int gm, gd = DETECT;
 initgraph(&gd,&gm,"e:\\tc\\bgi");
cleardevice();
setcolor(2);
settextstyle(10,0,5);
outtextxy(210,10,"Box");
int scol,srow,ecol,erow,i,j,col,row;
setcolor(4);

rectangle(285,46,328,95);
setcolor(15);

rectangle(200,120,310,220);
rectangle(240,160,350,260);
scol=201,srow=121,ecol=309,erow=219;
line(200,120,240,160);
line(310,120,350,160);
line(310,220,350,260);
line(200,220,240,260);


getch();
getch();
}
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