摘要: 通过重载new 和 delete 大大提高内存空间的分配速度。template <class type> class Link{type elememt;Link* next;Link(const type& ele, Link* ne == NULL){element = ele;next = ne;}Link(Link* ne = NULL){next = ne;}}template <class type> class link_list: public Link<type>{private:Link<type>* head;Lin 阅读全文
posted @ 2011-09-06 22:40 xxx1 阅读(190) 评论(0) 推荐(0) 编辑