网站大量收购独家精品文档,联系QQ:2885784924

仓库库存管理系统源程序(Warehouse management system source code).doc

仓库库存管理系统源程序(Warehouse management system source code).doc

  1. 1、本文档共27页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
仓库库存管理系统源程序(Warehouse management system source code)

仓库库存管理系统源程序(Warehouse management system source code) # includes stdio.h # includes stdlib.h # includes string.h # includes iostream.h int shoudsave = 0; struct: / / 物品信息定义 { char code [10]; / / 物品编码 char name [20]; / / 物品名称 int num; / / 商品数量 int level; / / 物品等级 } item; typedef struct node { struct item data; struct node * next; } * node, link; / / 定义为链表 void menu () / / 页面显示函数 { system (cls); / / 清屏函数 printf (* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 《物品库存管理》 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * \ n); printf (\ n); printf (\ n 1 物品入库管理 \ n \ t \ n 2 物品出库管理 \ n); printf (\ n 3 浏览库内物品信息 \ n \ t \ n 4 修改物品信息 \ n); printf (\ n 5 保存物品信息 \ n \ t \ n 0 退出库存管理 \ n); printf (\ n); cout * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * the * * * * * * * * * * * * * * * * * endl; printf (\ n 请选择操作:); } void printstart () { printf (------------------------------------------ \ n); } void wrong () / / 错误处理函数 { printf (输入错误! \ n); getchar (); getchar (); menu (); return; } void nofind () { printf (没有找到该物品! \ n); } void printc () / / 本函数用于输出中文 { printf (物品编码 物品名称 物品数量 物品等级 \ n); } void printe (node * p) / / 输出物品信息函数 { cout endl p - data.code p data.name p data.num p data.level; } node * locate (link l, char findmess [], char nameorcode []) / / 用于定位连接中, 符合要求的结点, 并返回该指针 { node * r; if (strcmp (nameorcode, tails) = = 0) / / { r = l - next; while (r! = = null) { if (strcmp (r - data.code, findmess) = = 0) return r; r = r - next; } } else if (strcmp (nameorcode, name) = = 0) / / 按名称查询 { r = l - next; while (r! = = null) { if (strcmp (r - data.name, findmess) = = 0) return r; r = r - next; } } return 0; } void add (link l) / / 增加物品函数 { node * p, * r * d; char code [10]. r = l; d = l - next; while (r - next! = = null) r = r - next; while (1) { system (cls); / / 清屏函数 cout 请输入商品编码 (输入 0 返回上一级菜单): endl; scanf (% s co

您可能关注的文档

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档