65,187
社区成员




struct pList
{
int num;
struct pList *pNext;
};
void main()
{
pList * head,*pEnd,*p1;
head->pNext=pEnd;
//head->num=1;
head->pNext=p1;
//p1->num=2;
p1->pNext=pEnd;
while(head->pNext!=pEnd)
{
cout<<head->num;
head=head->pNext;
}
}