#include<iostream>
#include<assert.h>
usingnamespacestd;
typedefintDataType;
//双向链表,无头节点
structLinkNode
{
//struct默认是公有访问限定符
public:
LinkNode(constDataType&x)
:_data(x)
,_prev(NULL)
,_next(NULL)
{}
~LinkNode()
{..
分类:
其他好文 时间:
2015-11-29 19:45:29
阅读次数:
163