My Project
Loading...
Searching...
No Matches
Node.h
1
#ifndef NODE
2
#define NODE
3
4
5
template
<
class
Type>
class
Node
{
6
public
:
7
Node
* next;
8
Node
* left;
9
Node
* right;
10
Node
* prev;
11
Type data;
12
public
:
13
Node
(Type n){
14
data = n;
15
left = NULL;
16
right = NULL;
17
next = NULL;
18
prev = NULL;
19
}
20
};
21
22
#endif
Node
Definition:
Node.h:5
Generated by
1.9.6