回复 3楼 诸葛欧阳
nonono不是啊
#include<stdio.h>
#define 7
typedef struct student
{
int num;
char name[64];
float score;
struct student *Next;
}student,*Pstudent;
typedef struct student node;
typedef node *Link;
Link insert_list(Link head,Link New,int key)
{
Link pointer;
Link Tmp;
pointer=head;
while
{
if(pointer==NULL)
{
New->Next=pointer->Next;
pointer->Next=New;
break;
}
pointer=pointer->Next;
}
return head;
}。。。。。我总感觉前面缺了点什么