当前位置:三九宝宝网 → 宝宝教育 → 教学论文 → 正文

用C语言编写一个图书管理系统

更新:01-04 整理:39baobao.com
字体:

[C语言图书管理系统]原发布者:天使小白很黑 图书管理系统设计图书管理信息包括:图书名称、图书编号、单价、作者、存在状态、借书人姓名、性别、学号等功能描述:1.新进熟土基本信息地输入2.图书基...+阅读

#include#includestruct sale/*商品名的定义*/{int number;

char name[20];

float price;

long count;

long time;

long date;}; /*各个函数*/ void input(struct sale s[7]);/*输入函数*/ void output(struct sale s[7]);/*输出函数*/ void seek(struct sale s[7]);/*查找函数*/ void row(struct sale s[7]);/*排序函数*/ void change(struct sale s[7]);/*删除、修改、或插入*/void main()/*主函数执行区域*/{struct sale s[7]={{2,"pen",0.5,200,20050604,20090102},{1,"milk",3.5,100,20050403,20090202},{5,"coke",3.5,500,20060203,20070503},{6,"chewing",0.3,200,20060305,20080205},{4,"eraser",0.4,20,20060304,20500607},{3,"pencil",0.9,100,20040607,20060709}};/*定义初始值*/; /*input(s);【已付初始值暂不运行!!】*/output(s);seek(s);row(s);change(s); } /*void input(struct sale s[7])【注释:已付初始值,暂不运行!!】 {int i;

printf("请分别输入产品编号、名称、单价、库存数量、入库时间、有效日期:\n");

for(i=0;i

本文地址:https://www.39baobao.com/show/29_22931.html

以上内容来自互联网,请自行判断内容的正确性。若本站收录的信息无意侵犯了贵司版权,请联系我们,我们会及时处理和回复,谢谢.

以下为关联文档:

图书信息管理程序用C语言编写#include#include#include#include#include#define STACK_INIT_SIZE 10 #define OK 1 #define TRUE 1 #define FALSE 0 #define ERROR 0 struct student /*定义学生类型,用于...

C语言图书信息管理系统原发布者:佴卬茕 HUNANUNIVERSITYC语言程序训练报告【设计目的】图书信息包括:读者登录号、管理员登录号、图书编号、作者名、种类、出版社、图书库存、图书借出数目等.图书...

图书信息管理系统设计 c语言高级语言程序设计(2)课程设计 一程序设计说明书【设计题目】图书馆借阅管理【问题描述】图书馆,适合用C++面向对象的功能来描述。图书馆管理系统分为借书、还书、图书管理和读...

用C语言编写一个简单的图书管理小程序源代码如下: #include<iostream> #include<iomanip> #include<string> #include<fstream> #include<stdio.h> using namespace std; const int maxb=10000; //最多的图书 clas...

如何使用C语言编写图书管理系统图书管理系统是运行于Windows系统下的应用软件,主要用于对图书馆中的图书信息进行增、删、改、查等操作,并且还可对使用该系统的用户进行登录名和密码的管理等。系统给用户提...

急求c语言程序设计图书管理系统源代码#include#include#include#include#define N 100 //书籍的最多本数 struct book { char title[30]; int number; char author[30]; float price; int store; char borrower_...

用C语言编一个简单的图书管理系统包括借阅查询还书三部分学展开全部#include#include struct sale/*商品名的定义*/ {int number; char name[20]; float price; long count; long time; long date;}; /*各个函数*/ void input(struct s...

一个简单的图书管理系统 C语言#include#include int function1(); int function2(); int function3(); int function4(); int function5(); int function6(); int function7(); int function8(); int mai...

c语言图书管理系统代码#include#include#include#include#include#define STACK_INIT_SIZE 10 #define OK 1 #define TRUE 1 #define FALSE 0 #define ERROR 0struct student /*定义学生类型,用于...