摘要: 1 #pragma once 2 #include 3 template 4 class CLineList{ 5 private: 6 T1* pData; 7 T1 nCount; 8 int nTabLenth; 9 10 public: 11... 阅读全文
posted @ 2016-01-21 11:28 天还是那么蓝 阅读(226) 评论(0) 推荐(0)
摘要: 1 #pragma once 2 template 3 class CMyVector{ 4 private: 5 int m_nLenth;//长度 6 int m_nCount;//元素个数 7 T* m_pVec;//指针 8 public: 9 ... 阅读全文
posted @ 2016-01-21 11:25 天还是那么蓝 阅读(235) 评论(0) 推荐(0)
摘要: 1 #pragma once 2 //首先建立树节点的类型 3 //一个树节点有数据域,有指向左子树的指针域,有指向右子树的指针域 4 //我们将其封装成一个结构体类型 5 class DoubleTree{ 6 public: 7 typedef struct _DOUBLENODE{ ... 阅读全文
posted @ 2016-01-21 10:32 天还是那么蓝 阅读(935) 评论(0) 推荐(0)