📄 issuebook.cpp
字号:
/*******************Function To Issue Book To Members ***********************/
# include"liba.h"
void issbook()
{
window(1,1,80,2);
textbackground(LIGHTGRAY);
clrscr();
textcolor(YELLOW);
gotoxy(30,1);
cprintf("Issue Book To Members");
window(1,2,80,25);
textcolor(WHITE);
textbackground(BLUE);
clrscr();
int i,j,k,id;
int f1,f2;
printf("\n\n");
gotoxy(5,2);
cprintf("Enter Book id::");
gotoxy(9,3);
cprintf("/");
gotoxy(13,3);
cprintf("/");
gotoxy(5,3);
scanf("%d",&i);
gotoxy(10,3);
scanf("%d",&j);
gotoxy(14,3);
scanf("%d",&k);
f1=chkbook(i,j,k);
if(f1==FALSE)
{
printf("\n\t No Such Book.....");
getch();
return;
}
printf("\n\t Enter Membership id::");
scanf("%d",&id);
f2=memcheck(id);
if(f2==FALSE)
{
printf("\n\t No Such Member.....");
getch();
return;
}
transac2(id,i,j,k,'I');
printf("\n\t Book Issued....");
textcolor(RED);
cprintf("press any to return");
getch();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -