#include "mylib.c"
void main()
{
int i=1,j=8,x=0;
char *programmers[]={"Pankaj A.H. ",
"Pankaj ",
"IGCT Computers",
"9373144662 "
};
clrscr();
DoubleFillBoxS(10,20,22,60,255,30);
WS(" Numerologist",12,32,30);
WS(" Version 1.0",14,32,30);
WS(" Copyright (C) 2000-2010",16,28,30);
WS(" IGCT,INFO COMPUTERS ",18,27,30);
WS("[",20,34,30);
WS("]",20,39,30);
delay(50);
WS("O",20,38,30);
WS("K",20,39,30);
delay(500);
//WS(" ",20,37,30);
//WS(" ",20,38,30);
while(i<=8 && j>1)
{
WS("[",20,34-i,30);
WS(" ",20,34-i+1,30);
delay(250);
WS("]",20,40+j,30);
WS(" ",20,40+j-1,30);
i++;
j++;
}
WS(" ",20,38,30);
WS(" ",20,39,30);
while(!kbhit())
{
while(x<4)
{
gotoxy(36,20);
WS(programmers[x],20,32,30);
delay(800);
if(x==3)
x++;
}
}
getch();
}
DoubleFillBoxS(int sr,int sc,int er,int ec,int fc,int attr)
{
int i,j;
WC(sr,sc,201,attr);
WC(sr,ec,187,attr);
WC(er,sc,200,attr);
WC(er,ec,188,attr);
for(i=sc+1;i
{
WC(sr,i,205,attr);
WC(er,i,205,attr);
}
for(i=sr+1;i
{
WC(i,sc,186,attr);
WC(i,ec,186,attr);
}
for(i=sr+1;i
{
for(j=sc+1;j
{
WC(i,j,fc,attr);
}
}
/* for shadow */
for(i=sc+1;i<=ec+1;i++)
{
WC(er+1,i,fc,attr+19);
}
for(i=sr+1;i<=er+1;i++)
{
WC(i,ec+1,fc,attr+19);
}
}
void main()
{
int i=1,j=8,x=0;
char *programmers[]={"Pankaj A.H. ",
"Pankaj ",
"IGCT Computers",
"9373144662 "
};
clrscr();
DoubleFillBoxS(10,20,22,60,255,30);
WS(" Numerologist",12,32,30);
WS(" Version 1.0",14,32,30);
WS(" Copyright (C) 2000-2010",16,28,30);
WS(" IGCT,INFO COMPUTERS ",18,27,30);
WS("[",20,34,30);
WS("]",20,39,30);
delay(50);
WS("O",20,38,30);
WS("K",20,39,30);
delay(500);
//WS(" ",20,37,30);
//WS(" ",20,38,30);
while(i<=8 && j>1)
{
WS("[",20,34-i,30);
WS(" ",20,34-i+1,30);
delay(250);
WS("]",20,40+j,30);
WS(" ",20,40+j-1,30);
i++;
j++;
}
WS(" ",20,38,30);
WS(" ",20,39,30);
while(!kbhit())
{
while(x<4)
{
gotoxy(36,20);
WS(programmers[x],20,32,30);
delay(800);
if(x==3)
x++;
}
}
getch();
}
DoubleFillBoxS(int sr,int sc,int er,int ec,int fc,int attr)
{
int i,j;
WC(sr,sc,201,attr);
WC(sr,ec,187,attr);
WC(er,sc,200,attr);
WC(er,ec,188,attr);
for(i=sc+1;i
No comments:
Post a Comment