📜  如何删除节点 c++ 代码示例

📅  最后修改于: 2022-03-11 14:44:55.954000             🧑  作者: Mango

代码示例1
void del (node *before_del) 
{
    node* temp;
    temp = before_del->next;
    before_del->next = temp->next;
    delete temp;
}