So im trying to implement an octree for a 3d world. But im having some issues with "new" and pointers.
first problem is:
i can make a tree and i can print the contents of each node to the screen, but then if i try to go through the tree looking for what node a certain point is it crashes.
im using gcc v4. something on windows vista
attached is the code for the tree.
Any and all help is greatly appreciated.