|
|
#2
shiyongdong2010-02-21 07:02
|
#include<stdio.h>
#include<stdlib.h>
#define SIZE 30
struct node
{
char name[10];
int num;
float score;
struct node *next;
}node,*p;
InitList()
{
if((node.next=malloc(SIZE))==NULL)
printf("malloc error");
return(node);
}