- 105
- 1
- 约7.96千字
- 约 9页
- 2017-01-25 发布于重庆
- 举报
c语言大作业物流配送系统程序
#includestdio.h
#includestdlib.h
#includestring.h
//日期
struct date
{ int year;
int month;
int day;
};
//订单链表
struct article
{ char name[20];//物品名称
int num1;//物品编号
char produce[20];//产地
char dest[20];//目的地
char mode[20];//配送模式
int num2;//物品数量
float money;//配送金额
struct date deliver;//配送日期
struct article *next;//指向上一次添加的订单
};
struct article *head;//存储订单信息
int Recordcount;//订单数量
//添加订单
void add()
{
system(cls);//清屏
struct article *p=NULL;//新建一个定单节点
p=(struct article*)malloc(sizeof(struct article));//为新建的订单节点分配内存空间
printf(请输入配送年份:);
while(0 == scanf(%d
您可能关注的文档
最近下载
- 国企员工竞聘表态发言模板参考.docx VIP
- 历年中考英语高频词汇汇编(真题800词版).docx VIP
- 车辆液力回流变速传动系统结构设计—毕业论文.docx VIP
- GB 50300-2013建筑工程施工质量验收统一标准.pdf VIP
- 16S518-雨水口标准图集.pptx VIP
- 贵州省铜仁市碧江区2024-2025学年七年级下学期期中考试英语试题(含答案).docx VIP
- UHF频段抗金属天线设计.pdf VIP
- 22D701-3电缆桥架安装(26.9MB)(26.85MB)5ce2e72e69780631(1).pdf VIP
- S518 16S518 雨水口标准图集.pdf VIP
- 2024年长沙市卫生健康委员会直属事业单位招聘真题.docx VIP
原创力文档

文档评论(0)