#include<iostream>
#include<cstring>
#include<cstdlib>
#include"Header.h"
using namespace std;
template<typename type>
class Node
{
public:
Node *next;
type element;
Node(const type& it,Node *nextValue)
{
element=it;
next=nextValue;
}
Node(Node *nextValue)
{
next=nextValue;
}
Node(){
}
~Node(){
}
};
template<
C++ 用链表实现队列(queue)
最新推荐文章于 2024-04-28 18:45:04 发布