文档介绍:超市仓库管理系统程序以下:
#include <>
#include<>
#include <>
#include<>
#include""
#define N 500
#define LEN sizeof(struct product)
#define ILEN sizeof(struct in_product)
#define OLEN sizeof(struct out_product)
#define QLEN sizeof(struct quit_product)
void init()
{
head=NULL;
qhead=NULL;
ihead=NULL;
ohead=NULL;
printf("\t\t★★★★★★★★★★★★★★★★★★★★★★★★★★\n");
printf("\t\t★ ★\n");
printf("\t\t★ ★\n");
printf("\t\t★ ★\n");
printf("\t\t★ ******************** ★\n");
printf("\t\t★ * * ★\n");
printf("\t\t★ * ♀ 欢迎进入 ♀ * ★\n");
printf("\t\t★ * * ★\n");
printf("\t\t★ * 超市仓库管理系统 * ★\n");
printf("\t\t★ * * ★\n");
printf("\t\t★ ******************** ★\n");
printf("\t\t★ ★\n");
printf("\t\t★ ★\n");
printf("\t\t★ ★\n");
printf("\t\t★★★★★★★★★★★★★★★★★★★★★★★★★★\n\n");
printf("\t\t\t\t 1: 入库管理\n");
printf("\t\t\t\t 2: 出库管理\n");
printf("\t\t\t\t 3: 退货管理\n");
printf("\t\t\t\t 4: 商品统计\n");
printf("\t\t\t\t 0: 退出系统\n");
}
void menu()
{
printf("\t\t\t\t 1: 添加数据\n");
printf("\t\t\t\t 2: 删除数据\n");
printf("\t\t\t\t 3: 修改数据\n");
printf("\t\t\t\t 4: 查看数据\n");
printf("\t\t\t\t其它: 退回上一级菜单\n");
}
void menu2()
{
printf("\t\t★★★★★★★★★★★★★★★★★★★★★★★★★★\n");
printf("\t\t★ ★\n");
printf("\t\t★