c语言大作业物流配送系统程序.docVIP

  • 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

文档评论(0)

1亿VIP精品文档

相关文档