资源大小: 11.84MB
发布时间: 2013-05-10
文件格式: zip
下载次数: 3
分享到:

下载地址:

下载地址1
(本站为飞网专业下载站,域名:down.cfei.net)

资源简介:

#include#include#include#include#define NULL 0#define LEN sizeof(struct student)struct student{ int num; char name[10]; int score; struct student *next;};int n;struct student *creat(){ struct student *head; struct student *p1,*p2; p1=p2=(struct student *)malloc(LEN); printf("请输入数据:\n"); printf("-学号---姓名---成绩-\n"); scanf("%d%s%d",&p1->num,p1->name,&p1->score); head=NULL; n=0; while(p1->num!=NULL) { n=n+1; if(n==1) head=p1; else p2->next=p1; p2=p1;


飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。