Hi All,
I have a binary search tree (consider following structure).
struct bst
{
void *value;
struct bst *left, *right;
};
I want to save this unbalanced binary search tree in a file. And when I read this file, I don't want to recreate the tree from these nodes. So the tree has to be saved in tree format, Any Ideas?? I am newbie in C language so a code snippet would be helpful...and is it possible to save this tree in binary format??
thanx in advance