#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)
最新推荐文章于 2023-06-08 16:19:59 发布