Professional Documents
Culture Documents
22
22
setfillstyle(SOLID_FILL,15); floodfill(235,115,15);
floodfill(235,200,15); floodfill(325,115,15); floodfill(325,200,15);
setfillstyle(SOLID_FILL,1); floodfill(266,146,15);
floodfill(266,175,15); floodfill(290,146,15); floodfill(290,175,15);
rectangle(130,300,431,320); setfillstyle(1,4); gotoxy(23,25);
cout<<"LOADING......"; for(i=131;i<431;i++) { bar(131,301,i,319);
j=(i-130)/3; gotoxy(35,25); cout<<j<<" %"; if(i>350&&i<400) delay(15);
if(i>400) delay(5); //loading if(i>320&&i<350) delay(80);
if(i>315&&i<320) delay(400); if(i<315) delay(30); }
outtextxy(150,430,"PRESS ANY KEY TO CONTINUE....."); getch();
closegraph(); } /* **************************************************
FUNCTION TO DRAW BOX FOR SEEING ALL ACCOUNT
************************************************** */ void line1() { int
i; char c=196; gotoxy(2,6); for(i=0;i<78;i++) cout<<c; gotoxy(2,4);
for(i=0;i<78;i++) cout<<c; gotoxy(2,22); for(i=0;i<78;i++) cout<<c; }
void box() { int i; char c; clrscr(); gotoxy(1,1); c=218; cout<<c;
c=196; for(i=0;i<79;i++) cout<<c; c=179; gotoxy(1,2); for(i=1;i<23;i++)
cout<<c<<endl; c=192; cout<<c; c=196; for(i=0;i<78;i++) cout<<c; c=217;
cout<<c; gotoxy(80,1); c=191; cout<<c; c=179; for(i=2;i<24;i++) {
gotoxy(80,i); cout<<c; } } void style() { // textbackground(WHITE);
textcolor(LIGHTGRAY); int dd,mm,yy; struct date d; getdate(&d);
dd=d.da_day; mm=d.da_mon; yy=d.da_year; gotoxy(70,2); cprintf("DATE");
gotoxy(69,3); cout<<dd<<"/"<<mm<<"/"<<yy; gotoxy(31,3); cprintf("ACCOUNT
HOLDERS"); gotoxy(2,5); textbackground(WHITE); for(int i=0;i<35;i++)
cprintf(" "); textbackground(BLACK); textcolor(BLACK);
textbackground(WHITE); gotoxy(5,5); cprintf(" ACCOUNT NONAME ADDRESS
DEPOSIT DATE "); textbackground(BLACK); textcolor(WHITE); } void
style2(int x, char y[20],char z[25]) { int dd,mm,yy; struct date d;
getdate(&d); dd=d.da_day; mm=d.da_mon; yy=d.da_year;
textcolor(LIGHTGRAY); gotoxy(5,2); cprintf(" ACCOUNT NUMBER #");
gotoxy(23,2); cout<<x; gotoxy(30,2); cprintf("NAME: "); gotoxy(36,2);
cout<<y; gotoxy(30,3); cprintf("ADDRRESS: "); gotoxy(40,3); cout<<z;
gotoxy(70,2); cprintf("DATE"); gotoxy(69,3); cout<<dd<<"/"<<mm<<"/"<<yy;
gotoxy(2,5); textbackground(WHITE); for(int i=0;i<35;i++) cprintf(" ");
textbackground(BLACK); textcolor(BLACK); textbackground(WHITE);
gotoxy(5,5); cprintf(" DATEPARTICULAR DEPOSIT WITHDRAW BALANCE " );
textbackground(BLACK); textcolor(WHITE); } void welcome() { int
gd=DETECT,gm; initgraph(&gd,&gm," "); int i,j,count=0; char ch;
setbkcolor(14); setcolor(12); settextstyle(7,0,3); delay(1200);
outtextxy(220,50,"W"); delay(200); outtextxy(240,50,"E"); delay(200);
outtextxy(260,50,"L"); delay(200); outtextxy(280,50,"C"); delay(200);
outtextxy(300,50,"O"); delay(200); outtextxy(316,50,"M"); delay(200);
outtextxy(336,50,"E"); delay(400); outtextxy(270,120,"TO"); delay(500);
outtextxy(90,190," BANK MANAGEMENT SYSTEM"); delay(500);
outtextxy(210,300,"RAMAN GOY"); outtextxy(348,300,"AL"); delay(500);
outtextxy(254,330,"C03547"); delay(300); getch(); closegraph(); }