sorry node is not a static member. i was trying something there but it didnt work.
how should i initialize b. its a tree.
Type: Posts; User: lyime
sorry node is not a static member. i was trying something there but it didnt work.
how should i initialize b. its a tree.
So if you could provide a better solution that would be awesome.
found a solution to my problem.
i will just have to seperate my classes and after creating each object, i will have to call the bst.add() funciton
bst.add(a)
bst.add(b)
bst.add(c)
Edit: I...
hello,
I am having trouble with a certain implementation.
I have a binarytree class called btree, this classes has all the insert, remove etc function.
I also have another class inheritance...