P
pleatofthepants
I have a Binary Search Tree and a function called inOrder
void inOrder (TreeNode<T>*, ostream& out)
which is being called like this: a.inOrder(cout);
But it will not work because the parameters are not the same. The
function call has to be the same but what can I change in the function
to allow this?
void inOrder (TreeNode<T>*, ostream& out)
which is being called like this: a.inOrder(cout);
But it will not work because the parameters are not the same. The
function call has to be the same but what can I change in the function
to allow this?