scanf("%d",&s->date);
'&'这个东西能去掉,谁说的,你去掉试试
'&'这个东西能去掉,谁说的,你去掉试试


日出东方,唯我不败! 做任何东西都是耐得住寂寞,任何一个行业要有十年以上的积累才能成为专家
int i;
for(i=0;i<n;i++)
{
s=(Node *)malloc(sizeof(Node));
if(!s) exit(1);
scanf("%d",&s->date);
s->next=null;
p->next=s;/*可能只是这里的问题 与上面和下面的可能都没有关系 */
p=s;
}
}