Re: Changing The AVL Tree (Simple Question, Please Help!)


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]

Posted by Natalie on July 16, 2001 at 20:02:16:

In Reply to: Changing The AVL Tree (Simple Question, Please Help!) posted by Lil' Viv on July 16, 2001 at 19:55:07:

My find function returns a pointer. It seems like returning a reference should work, but who knows. I haven't really tried to modify the nodes that are found with it, though, so I guess I don't know if that works either. Might be worth a try.

Natalie

: OK, I am having a dumb problem . . . I am having trouble changing the AVL Tree from my foohandler functions. My find function returns the object by reference, and I thought that would be enough, but apparently not. Please help! Thanks!

: Hey,
: I'm having a bit of trouble. In my AVL Tree, I have the find
: function return the object it found by reference, however . . . whatever
: changes I make to that object (in my foohandler class) after I find it
: seem to not take place. Any thoughts? I know it's something quick I am
: missing, just not sure what it is Thanks a ton .
: . . after this little hurdle, I can make some more progress. =)




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]