C语言课程设计玩具售系统源程序代码.docVIP

  • 12
  • 0
  • 约 5页
  • 2016-08-18 发布于贵州
  • 举报

C语言课程设计玩具售系统源程序代码.doc

C语言课程设计玩具售系统源程序代码

/*系统预处理部分*/ #include stdio.h #include string.h //#include conio.h #define MAX_toys 20 /*本系统的最大容量*/ /*toy record 结构体定义*/ struct toy_type{ char name[20];//名称 char code[20];//代号 char suitable_age_group[10];//适合的年龄组 char material[10];//材料 char character[10];//性质:如益智类,遥控类,饰品类 char notes[10];//备注;如是否为最新款 float price; }; /* 函数原型*/ void load_data(struct toy_type toys[]); void add_toy(struct toy_type toys[]); void show_toy(struct toy_type toys[],int position); void show_all_toys(struct toy_type toys[]); void list_one_name(struct toy_type toys[]); void find_a_toy(struct toy_type toys[]); void

文档评论(0)

1亿VIP精品文档

相关文档