- 10
- 0
- 约1.04万字
- 约 13页
- 2016-11-29 发布于湖南
- 举报
图书每馆管理系统c代码
// tushuguanli.cpp : Defines the entry point for the console application.
//
#include string//字符串头文件
#include fstream//文件头文件
#include iostream//是指标准库中输入输出流的头文件, cout就定义在这个头文件里
using namespace std;//使用名字空间std
const int BMAX=50; //书最多个数
//图书管理模块
//图书类
class book
{
public:
int no; //图书编号
char name[20]; //图书名称
int b_flag; //1为在架,2为借出
int b_del; //1为存在, 2为删除
public :
book(){} //构造函数
void setno(int n)
{
no=n;
原创力文档

文档评论(0)