prog.cpp:1:6: error: 'CBinaryTree' has not been declared
void CBinaryTree::Save()
^
prog.cpp: In function 'void Save()':
prog.cpp:3:11: error: 'root' was not declared in this scope
SaveWord(root);
^
prog.cpp:3:15: error: 'SaveWord' was not declared in this scope
SaveWord(root);
^
prog.cpp: At global scope:
prog.cpp:6:6: error: 'CBinaryTree' has not been declared
void CBinaryTree::SaveWord(Node* root)
^
prog.cpp:6:28: error: variable or field 'SaveWord' declared void
void CBinaryTree::SaveWord(Node* root)
^
prog.cpp:6:28: error: 'Node' was not declared in this scope
prog.cpp:6:34: error: 'root' was not declared in this scope
void CBinaryTree::SaveWord(Node* root)
^