I need some more help with this program,
I think the insertion works alright but when I get to InOrder it fails. Here's the function...
The error message I'm getting is:
void BST::InOrder (ostream &x)
InOrderTraversal (Root, x);
void BST::InOrderTraversal (TreePtr root, ostream & file)
InOrderTraversal (root->Left, file); <----- here's the error
file << root->Info.Name << endl;
InOrderTraversal (root->Right, file);
Unhandled exception at 0x00432b00 in Binary_Search_Tree.exe: 0xC0000005: Access violation reading location 0xfeef000a.
Any idea what's wrong?