home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_11_07
/
1107118b
< prev
next >
Wrap
Text File
|
1993-05-06
|
278b
|
23 lines
//
// tree.h - tree interface using global classes
//
struct treenode
{
treenode(const char *w);
char *word;
treenode *left, *right;
};
class tree
{
public:
tree();
~tree();
void add(const char *w);
void print();
private:
treenode *root;
};