6、nd();break;case'4':arrange();break;case‘5’:right();break;case'6':exit(0);}printf("按任意键返回主菜单:");getchar();clrscr();}while(1);}#include#include#include#defineBORROWED 1#defineNOBORROW 0/*定义图书结构*/structBook{ int _id;
7、 //编号,唯一 char_name[32]; //图书的名称,不唯一 int _type; //13图书的类型,不唯一 int _status; //图书的状态,借出/没有借出 int _count; //图书借出的次数 structBook*_next;//下一本书 structBook*_prev;//上一本书};/*定义图书类型*/typedefstructBookBook;/*操作的目录提示*/charbook