/************************************
WZASUST2016
模板实现单向链表
************************************/
#include"sts.h"
template<classT>
structnode
{
public:node(constT&d):next(NULL),data(d){}
Tdata;
node<T>*next;
};
template<classT&..
分类:
其他好文 时间:
2016-03-31 07:11:50
阅读次数:
145
模板实现头文件:#ifndef SUN_LINKLIST_H#define SUN_LINKLIST_H#include using namespace std ;//#include "List.h"// T : operator= , operator!= , operator== , cop....
分类:
编程语言 时间:
2014-07-10 16:23:14
阅读次数:
220