Computing.Net > Forums > Programming > how to write trees in VB

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

Reply to Message Icon

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.




Sponsored Link
Ads by Google

Response Number 1
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)

Chi

They mostly come at night...mostly


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: how to write trees in VB

How to use MSCOMM in VB.Net www.computing.net/answers/programming/how-to-use-mscomm-in-vbnet/10018.html

How to write shareware? www.computing.net/answers/programming/how-to-write-shareware/722.html

how to write binary file in visual www.computing.net/answers/programming/how-to-write-binary-file-in-visual-/11505.html