diff --git a/Chainlist_program.c b/Chainlist_program.c index 3de6518..4bae298 100644 --- a/Chainlist_program.c +++ b/Chainlist_program.c @@ -201,14 +201,14 @@ int main(void) { head = (LinkList*)malloc(sizeof(LinkList));//分配地址 head->prev=NULL; - +/* LinkList wang={"1003","11","wang",1,2,3,6,head,NULL}; LinkList zhang={"1002","22","zhang",3,2,3,8,&wang,NULL}; LinkList li={"1001","11","li",1,4,3,9,&zhang,NULL}; head->next=&wang; wang.next=&zhang; zhang.next= &li; - +*/ while(1){