摘要:
void RemoveNode(ListNode** pHead,int value){ if(pHead==NULL||*pHead==NULL) return; ListNode*pToBeDeleted=NULL; if((*pHead)->m_nValue==value) { pToBeDeleted=*pHead; *pHead=(*pHead)->m_pNext; } else { ListNode*pNode=*pHead; while(pNode->m_pNext!=NULL&&pNode-... 阅读全文