資源簡介
c語言實現的圖書管理系統 對書籍進行添加 刪除等等操作 功能完善
代碼片段和文件信息
/*2016.2.29
調試程序遇到的問題:借還書邏輯有錯誤,正在修改
*/
#pragma?warning(disable:4996)
//?????包含文件
#include
#include
#include
#include
#include
#include
//??????????????????結構體的定義
FILE?*fp;
struct?student
{
char?no[5];
char?name[9];
char?location[9];
struct?student?*next;
};??????????????????????????????????????????//學生結構體????????????????????????
struct?book
{
char?no[10];
char?name[10];
char?press[11]?a[3];
float?price;
struct?book?*next;
};?????????????????????????????????????????//圖書結構體
struct?borrow
{
char?stuno[5];
char?bono[9];
long?time;
float?fine;
struct?borrow?*next;
};????????????????????????????????????????????//借閱結構體
??//?????????????????函數的聲明
struct?student?*creat
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????21489??2017-11-18?09:43??圖書.cpp
- 上一篇:一個小型的C編譯器
- 下一篇:圖書信息管理系統設計 C++
評論
共有 條評論