posts - 17,  comments - 13,  trackbacks - 0
03 2009 档案
一个栈类的实现(链栈)
摘要: typedef struct LNode {int data;struct LNode *next;}LNode, *pLinkList;//类的声明class LinkList {private: pLinkList m_pList; int m_listLength;public: LinkList();~LinkList(); bool InitList (); bool DestroyLi...阅读全文
posted @ 2009-03-18 17:24 NANLEE 阅读(278) | 评论 (0) 编辑
一个链表类的实现
摘要: 赋值到VC上即可运行调试。typedef struct LNode{int data;struct LNode *next;}LNode, *pLinkList;//类的声明class LinkList {private:pLinkList m_pList;int m_listLength;public:LinkList();~LinkList();bool InitList ();bool De...阅读全文
posted @ 2009-03-18 16:57 NANLEE 阅读(912) | 评论 (0) 编辑