- 博客(1)
- 收藏
- 关注
原创 链表头指针head要设为**head,而不是*head
用以下的代码作为示例,解释。struct Node* head = NULL;void push(struct Node** head_ref, int new_data){ /* allocate node */ struct Node* new_node = new Node(); /* put in the data */ new_node->data = new_data; /* link the old list off the.
2021-09-01 01:28:44
1156
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人