C++实现双向链表
#include<iostream>
using namespace std;
typedef struct Node
{
int data;
Node *pre;
Node *next;
}Node;
class doublelink
{
public:
doublelink()
{
head=NULL;
tail=NULL;
}
~doublelink()
{
while(h.





