all students informed that they r provided all program`s of all subject`s in engg.

Wednesday, June 25, 2008

program based on matrix movie

CODE:
#include
#include
#include
#include

void main()
{
char c,d;
int i,j;
char a[15]={' ','A','D',' ','I','T','Y',' ','A',' ','A','D',' ','I','
'};//here characters are taken as my name
//u can change it to any other characters as yr own name
char far* p;
p=(char far*)0xb0008000;// vga memory address

clrscr();

randomize();
while(!kbhit())
{
delay(0);
for(i=0;i<160;i=i+6)
{
for(int j=0;j<50;j++)
{ *(p+160*j+i+1)=2;
*(p+160*j+i)=a[random(15)];

delay(0);
}
delay(0);
}
delay(200);

for(int k=0;k<10;k++)
{
for(i=0;i<160;i+=6)
{
for(j=0;j<25;j++)
{ c=*(p+160*j+i);
d=*(p+160*(j+1)+i);
*(p+160*(j+1)+i)=c;
c=d;
}
delay(0);
*(p+i)=c;
}
delay(0);
}

}
}
run this prog. & experience the matrix movie.......
Powered By Blogger

my phylosophy

My photo
virtual city, MH, India
۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ hi, gies i am fan of computer so, to share my knowledge. i made this blog with some reference: 1.www.mumbaihacker.com 2.www.redhacker.xm.com 3.www.onlinehackers.xm.com 4.www.rupeshhacktrix.blogspot.com ************************************ ® registered . ۩ orkut V.I.P account ۩ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ ♥ ۩۞۩ wєlcσмє тσ⋙ αcα∂ємy σƒ нαcking ⋘ ҳ̸Ҳ̸ҳ●๋• experience the difference ҳ̸Ҳ̸ҳ●๋•