C图书管理系统方案.docVIP

  • 1
  • 0
  • 约8.23千字
  • 约 31页
  • 2020-04-17 发布于安徽
  • 举报
#include iostream #include fstream #include string using namespace std; struct BookInfo { char loginname[10]; char bookname[20]; char author[20]; char number[5]; char date[10]; double price; }; struct Node { struct BookInfo book; struct Node *next; }; void option(); void select(); Node *head; Node *pt[10]; FILE *fp; //创建链表 /* Node *CrtNode(int n) { Node *head; //声明头指针head Node *p,*s; head=new Node; //创建头结点由head指向(空的头结点) s=head; cout请输图书信息:endl; for(int i=0;in;i++) { p=new Node; //创建一个结点 cout登录名:; cin.getline(p-book.loginname,10); strcat(p-book.loginname

文档评论(0)

1亿VIP精品文档

相关文档