node.h

来自「对52张扑克牌以一个基数进行翻转后,最后显示的正面和返回扑克的算法,可以动态输入」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef NODE_H_
#define NODE_H_
#include<iostream>

using namespace std;
template<class Node_entry>
struct Node{
	Node_entry entry;
	Node<Node_entry> *next;	
	Node();
	Node(Node_entry item,Node<Node_entry> *link=NULL);
};
template <class Stack_entry>
Node<Stack_entry>::Node(){
	next=NULL;
}
/****************************************************************/
template <class Stack_entry>
Node<Stack_entry>::Node(Stack_entry item,Node<Stack_entry> *link){
	entry=item;
	next=link;
}
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?