请问下老师为什么在ClearList里要Node *currentNode=m_pList->next; 在后面的操作里用Node *currentNode=m_pList; 还有为什么不直接用头指针操作而要用它的拷贝值来操作
头结点不用删除。
后面用的Node *currentNode=m_pList是用来保存一下头结点。