473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Tree structures.

Me
I'm completely new to C# and am trying to code a game, to help me rapidly
learn the language. I need to create, traverse, sort and prune a tree
structure of some sort. Does anybody know where I can get information on how
to create a tree structure, that is written in fairly simple terms?
Nov 16 '05 #1
2 1203
You might take a look at the following articles:
http://blogs.msdn.com/rajmohan/archi...20/188389.aspx

--
Adam Clauss
ca*****@tamu.edu
"Me" <me@hotmail.com> wrote in message
news:xRhyd.618152$D%.152265@attbi_s51...
I'm completely new to C# and am trying to code a game, to help me rapidly
learn the language. I need to create, traverse, sort and prune a tree
structure of some sort. Does anybody know where I can get information on
how
to create a tree structure, that is written in fairly simple terms?

Nov 16 '05 #2
Me
Thanks, I have those articles, but those are for binary tree's. I need a
structure that allows n nodes and not just two.


"Adam Clauss" <ca*****@nospam.tamu.edu> wrote in message
news:Oy**************@TK2MSFTNGP12.phx.gbl...
You might take a look at the following articles:
http://blogs.msdn.com/rajmohan/archi...20/188389.aspx

--
Adam Clauss
ca*****@tamu.edu
"Me" <me@hotmail.com> wrote in message
news:xRhyd.618152$D%.152265@attbi_s51...
I'm completely new to C# and am trying to code a game, to help me rapidly learn the language. I need to create, traverse, sort and prune a tree
structure of some sort. Does anybody know where I can get information on
how
to create a tree structure, that is written in fairly simple terms?


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: David | last post by:
I have a simple tree structure where node x can have y children. Node x's children are stored in an array. I want to supply a node to a function and count the TOTAL number of children for that...
4
by: Robin Tucker | last post by:
Hi, I'm currently implementing a database with a tree structure in a table. The nodes in the tree are stored as records with a column called "Parent". The root of the tree has a "NULL" parent....
4
by: dam_fool_2003 | last post by:
I am just a beginner in tree data – struct. I have this little doubt. Left node ‘weights' lesser than the right one. I have seen, so far it is algorithm implementations. But why not vice-versa that...
25
by: prabhat143 | last post by:
Hi, Given a singly linked, null terminated list, how can it be converted to tree? Each node in the list has three attributes: it's ID, it's parent ID and of course, the next node it's pointing...
1
by: Foodbank | last post by:
Hi, I'm currently teaching myself C data structures in preparation for a job transition and I've just passed the point in which radix sorting was covered in my book. I've recently finished a...
4
by: negative | last post by:
Dear all, I want to create a tree, where every node has an undetermined number of children (during the population of the tree, the exact number of children of each node , will become clear). So...
1
by: David Hirschfield | last post by:
I've written a tree-like data structure that stores arbitrary python objects. The objective was for the tree structure to allow any number of children per node, and any number of root nodes...and...
2
by: Defected | last post by:
Hi, How i can implement a main function with this Binary Search Tree. thanks for help. is this code corrected ? #include<iostream>
8
by: slizorn | last post by:
Hi guys, I have this coding that I wanted to try out. Basically this is meant to be done in Java as practice for the Topic trees in data structures and algorithms. I have recently learned C++ on...
13
by: Bill Cunningham | last post by:
pgs 140-1 of kandr2 talk about recursion. I tried typing in the code char by char and couldn't find the bugs so I just read the code and a new concept to me jumped out. Maybe this is what it means...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.