void Node::DeleteNode(){??? if(this->pLchild!=NULL)??? {??????? this->DeleteNode();??? }??? .........}不就是相當于void Node::DeleteNode(){??? if(this->pLchild!=NULL)??????? if(this->pLchild!=NULL);??????? this->DeleteNode();??? }}那里this當前對象的左節點如果不等于null不就是一直不等于NULL嗎,不是死循環了嗎,這代碼究竟如何運行
- 1 回答
- 0 關注
- 1164 瀏覽
添加回答
舉報
0/150
提交
取消