非专业程序员

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2009年4月19日

摘要: #include <stdio.h>#include <iostream>#include <math.h>#define NULL 0#define LEN sizeof(student)struct student{ int num; double score; student* next;};int n;student* create(void){ student *head; student *p1,*p2; n=0; p1=p2=(student*)malloc(LEN); scanf("%d%lf",&p1->n 阅读全文
posted @ 2009-04-19 13:36 曲仁岗 阅读(248) 评论(0) 推荐(0) 编辑