tree.h
401 Bytes
#ifndef TREE_H
#define TREE_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Slist.h"
typedef
struct node{
char val;
cell* next;}
//defs
node, *tree;
//functions
tree* make_empty_tree();
tree* cons_tree();
tree* load_tree(FILE*,tree*);
int is_empty(tree);
char value(tree);
//char*? values(tree);
void print_all(tree);
int isIn(tree,string);
#endif //TREE_H