- 1
- 0
- 约1.22万字
- 约 13页
- 2018-05-22 发布于河南
- 举报
C图书管理201008
//2010 8 18
//#include stdafx.h
#include iostream
#include iomanip
#include fstream
#define Maxr 100//读者数上限
#define Maxb 100//图书种类上限
#define Maxbor 6//每位读者最多借6本书
using namespace std;
class Reader{//读者信息
private:
char name[10]; //读者姓名
char college[20];//学院
int tag; //删除标记 1:已删 0:未删
int no; //图书证号
int job;//职称:教授=1;学生=3,其他=2。
int days;//借阅时限
int year,month,day;//到期日计算
int year1,month1,day1;//借入日期
int borbook[Maxbor];//所借图书
public:
Reader() {}
char *getname() {return name;} //获取姓名
char *getcollege() {return coll
原创力文档

文档评论(0)