学生信息经管完整C实训源.docVIP

  • 0
  • 0
  • 约8.15千字
  • 约 10页
  • 2019-08-08 发布于江苏
  • 举报
PAGE / NUMPAGES 作者:ZHANGJIAN 仅供个人学习,勿做商业用途 //学生信息经管系统 #includeiostream #includemalloc.h #includeiomanip #define NULL 0 #define LEN sizeof(struct student) //建立动态链表.cpp using namespace std。 struct student { int num。 char name[20]。 char sex[5]。 float math。 float english。 int order。 struct student *next。 }。 int n。 int male=0。 int famale=0。 struct student *creat(void) { struct student *head,*p1,*p2。 n=0。 p1=p2=(struct student *)malloc(LEN)。 cout下面开始创建链表:endl。 cout学号 姓名 性别 数学 英语 endl。

文档评论(0)

1亿VIP精品文档

相关文档