Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
how to write trees in VB
Name: sunny Date: February 18, 2005 at 21:43:00 Pacific OS: xp CPU/Ram: 256
Comment:
iam working on natural language processing. and all the programming is done in VB with sql server 2000 as back end. we r planning to store sentences in the form of binary trees. the problem is iam not good in vb and dont know how write classes or structures in VB as we do in C++. r there structures in VB like in C++ that we use to represent tree nodes. it also should store the pointer to the next node. pls any one tell me how to write trees in VB. pls someone help me pls.
Name: Chi Happens Date: February 19, 2005 at 11:13:20 Pacific
Reply:
first off, WHY would you use VB for binary trees when C++ is so perfectly suited for it?
Secondly, yes you can do it by creating Class modules that can act like C++ classes.
Chi
They mostly come at night...mostly
0
Response Number 2
Name: Chi Happens Date: February 19, 2005 at 11:30:55 Pacific
Reply:
oh and if you want to see an example of using class objects, you can check out http://www.evolutionsoftwarellc.com/downloads/stackandqueue.rar which contains my stack and queue vb implementations (you should be able to extrapolate this to binary trees...hmmm maybe when I have some time I will implement those too)
Summary: Hi, I wrote a networking tool and I want to make this a shareware or trialware. How to do this in VB or VC++ or delphi? Is there any site that has sample source code? Thanks Anil ...