- 6
- 0
- 约1.19万字
- 约 20页
- 2018-03-27 发布于湖南
- 举报
浅析c学生档案管理系统
#includestdio.h#includestdlib.h#includestring.h#define NULL 0#define LEN_s sizeof(struct student)#define LEN_c sizeof(struct course)struct student{ char student_ID[10]; char name[10]; char telephone[12]; struct student *next;};struct course{ char student_ID[10]; char course_ID[10]; int score; struct course *next;};int scount=0,ccount=0;struct student *head_s=NULL;struct course *head_c=NULL;struct course *add_c(){ char student_ID[10]; char course_ID[10]; int score; char cho; struct course *p1,*p2,*p; do { printf(input data:student_ID,course_ID,score\n); scanf(%s%s%d,student_ID,course_ID,score
原创力文档

文档评论(0)