- Nov 18, 2004
- 945
- 0
- 76
Okay, so I'm programming a binary tree in C++, and I'm having some problems with it.
We were working on this in class, and I think I saved an earlier version of it and emailed that one to myself, not knowing that this version had bugs in it. In any event, fast-forward to today, I'm working on my final for the class, and I want to use the binary tree in it, but I keep on getting this error that I don't know how to handle.
The error says ": error C2248: 'Root' : cannot access private member declared in class 'BinaryTree<class TestData>'" .. if anyone has any insights, that would help me out tremendously. Thanks again!
We were working on this in class, and I think I saved an earlier version of it and emailed that one to myself, not knowing that this version had bugs in it. In any event, fast-forward to today, I'm working on my final for the class, and I want to use the binary tree in it, but I keep on getting this error that I don't know how to handle.
The error says ": error C2248: 'Root' : cannot access private member declared in class 'BinaryTree<class TestData>'" .. if anyone has any insights, that would help me out tremendously. Thanks again!
