高分悬赏!求一份C语言编译的图书管理系统源代码!急~~

来源:百度知道 编辑:UC知道 时间:2024/06/21 05:21:43
程序要求包括:
1. 算法分析:排序、查找、其它;
2. 主要流程图
①写程序结构及各模块(输入,显示等)结构图;
②写主要算法的流程图;
3. 程序源代码 :列出源程序清单及说明;
4. 测试及输出结果 :输入信息、输出信息;

可以发到我邮箱 tangjingyi212@sina.com

不要类似于“去图书馆找”的回答~
实在没在图书馆找到相关资料,哪位C语言高手帮忙下哈!在此多谢了~

#include<stdio.h>
#include<string.h>
#include<conio.h>
#include<stdlib.h>
#include<ctype.h>
#define STACK_INIT_SIZE 10
#define OK 1
#define TRUE 1
#define FALSE 0
#define ERROR 0

struct student /*定义学生类型,用于存放借出的书籍*/
{
int studentnum,phonenum;
char lendbook[10];
}student[1000];

struct book /*定义书的类型*/
{
char bookname[11];
char publisher[20];
char page;
char year[6];
char status[4];
char name[11];
char author[51];
char booknum;
char bookcreat[10];
char borrownum;
char turefalse; /*用于借书和还书模块判断一本书是否借出的条件*/
}book[1000];

struct car /*借书卡的数据类型*/
{
int carnum;
char studentname[10];
int studentclass;
int studentphone;
}car[100];

addcar()
{
FILE *fp;
int i=0;
double allnum,stillbook,outbook,allmoney,avemoney;