資源簡(jiǎn)介
c語言實(shí)現(xiàn)的圖書管理系統(tǒng) 對(duì)書籍進(jìn)行添加 刪除等等操作 功能完善
代碼片段和文件信息
/*2016.2.29
調(diào)試程序遇到的問題:借還書邏輯有錯(cuò)誤,正在修改
*/
#pragma?warning(disable:4996)
//?????包含文件
#include
#include
#include
#include
#include
#include
//??????????????????結(jié)構(gòu)體的定義
FILE?*fp;
struct?student
{
char?no[5];
char?name[9];
char?location[9];
struct?student?*next;
};??????????????????????????????????????????//學(xué)生結(jié)構(gòu)體????????????????????????
struct?book
{
char?no[10];
char?name[10];
char?press[11]?a[3];
float?price;
struct?book?*next;
};?????????????????????????????????????????//圖書結(jié)構(gòu)體
struct?borrow
{
char?stuno[5];
char?bono[9];
long?time;
float?fine;
struct?borrow?*next;
};????????????????????????????????????????????//借閱結(jié)構(gòu)體
??//?????????????????函數(shù)的聲明
struct?student?*creat
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????21489??2017-11-18?09:43??圖書.cpp
評(píng)論
共有 條評(píng)論