摘要:
(1)单向链表//单向链表#include<iostream.h>#include<iomanip.h>class CNode //节点类{public: CNode *m_pNext; int m_Data; CNode():m_pNext(NULL){}};class CList //链表类{public: CList() { m_pHeader=NULL; m_NodeSum=0; } CNode* MoveTrail(CNode *pNode)//移动到尾节点 { CNode *pTmp=m_... 阅读全文