⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.cpp

📁 用vc编写的图书馆管理系统
💻 CPP
字号:
#include"card.h"
void main()
{
	//图书书证类---------------------------------
	bookcard sea,picture;
	CTime time1(2000,8,9,0,0,0);
	sea.setbookcard("sea","haizi",time1,67.0,"weihai");
	sea.getbook();
	//judge(sea);
	CTime time2(2000,8,6,0,0,0);
	picture.setbookcard("picture","bushi",time2,88.0,"xijiang");
	picture.getbook();
	//借书证类-------------------------------------
	CTime time3(2007,2,1,0,0,0);
	borrowcard person1;
	person1.setborrowcard("xiaomao","778890",time3,'m');
	person1.getperson();
	//借书记录类-------------------------------------
    int key;
	cout<<"if you want to know whether the book is in the library,please input 1.if not please input 0."<<endl;
	cin>>key;
	if(key==1)
	{
		judge(sea);
		judge(picture);
	}
	CTime time4(2006,1,12,0,0,0);
	recordcard record1;
	record1.brecord(time4,"xiaomao");
	bsetpd(sea);
	judge(sea);
	record1.handle();
}

	






	


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -