Click to See Complete Forum and Search --> : c++: checking if a tree isFull?


turbo_h4
02-07-2004, 10:27 PM
making a binary search tree database of a bunch of objects. How do I determine when the tree is actually full and I cannot add more leaves without the program crashing?

gameboy1234
02-08-2004, 04:13 AM
I dunno, I guess it depends which library you are using.

If doing your own, it's when the new operator returns a null pointer.