In C++ you'd do something like:
I think.Code:struct Node { int data; Node *right; Node *left; }Ported to VB, you could do this (without pointers, thank god):
VB Code:
Type TreeNode DataAtNode As Variant Dim RightN As Node Dim LeftN As Node End Type
But I hate data structures, especially involving pointers, so does anyone else have an opinion?




Ported to VB, you could do this (without pointers, thank god):
Reply With Quote