Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 118,500 C++ Programmers for FREE! Ask your question and get quick answers from experts. There are 1,060 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



C++ + TREES + DATA STRUCTURES

 
Reply to this topicStart new topic

C++ + TREES + DATA STRUCTURES

rajesh_strg
post 1 Jul, 2008 - 12:13 AM
Post #1


New D.I.C Head

*
Joined: 1 Jul, 2008
Posts: 9

PLz can u explain Trees and also all topis in Data Structures in an easier way.
Is there any site which explain about TREES in Data Structures
User is offlineProfile CardPM

Go to the top of the page


rajesh_strg
post 1 Jul, 2008 - 12:28 AM
Post #2


New D.I.C Head

*
Joined: 1 Jul, 2008
Posts: 9

PLz can u explain Trees and also all topis in Data Structures in an easier way.
Is there any site which explain about TREES in Data Structures
PLz send reply to my email address.

*edit: Sorry, we do not send code to people's private email. We help, we are not a code delivery service. And second please do not double post. Be patient and wait for an answer. Thanks! smile.gif

This post has been edited by Martyr2: 1 Jul, 2008 - 12:35 AM
User is offlineProfile CardPM

Go to the top of the page

Martyr2
post 1 Jul, 2008 - 12:30 AM
Post #3


Programming Theoretician

Group Icon
Joined: 18 Apr, 2007
Posts: 4,640



Thanked 120 times

Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions


We can't explain all data structures to you or we would be here for years. Data structures is a generic term for the way data is "structured". A tree is one way data can be structured. Think of a family tree. Where parents have kids and those kids have kids and those kids have kids. You start with 2 people and suddenly you have 20 great grand children which forms a hierarchy.

I cover one type of tree known as a binary tree in my blog which I have linked to below...

Martyr2's Programming Underground - Nodes in a Linked List and Binary Trees

Pay special attention to my neat little graphic to get an idea of what the tree looks like conceptually. Now this is only one type of a tree but trees can essentially have as many sub nodes as you want. The node that starts it all off is known as the "root" node, nodes that have subnodes of their own are known as "branches" and the nodes which end a branch are known as "leaf" nodes. See the similarity to a tree?

As mentioned before this is just one type of way to structure data. Nodes themselves can be called data structures. Other structures include linked lists, arrays, objects, lists, tables etc.

I hope you get the basic idea. Wikipedia has a great list of other types of structures as well as links that explain them all. You can find this page at the link below...

Wikipedia for data structures

That should give you plenty of information to start you off. Enjoy!

"At DIC we be data structuring code ninjas... when we are at the annual DIC football varsity games we sometimes get in a pascal's triangle format, but it often collapses because we are nerds" decap.gif
User is offlineProfile CardPM

Go to the top of the page

rajesh_strg
post 1 Jul, 2008 - 01:29 AM
Post #4


New D.I.C Head

*
Joined: 1 Jul, 2008
Posts: 9

thanks for u r reply.......
User is offlineProfile CardPM

Go to the top of the page

captainhampton
post 2 Jul, 2008 - 06:24 AM
Post #5


D.I.C Addict

Group Icon
Joined: 17 Oct, 2007
Posts: 501



Thanked 2 times

Dream Kudos: 775
My Contributions


QUOTE(rajesh_strg @ 1 Jul, 2008 - 01:29 AM) *

thanks for u r reply.......


What more were you expecting? He gave you the tools, use them!
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 10/11/08 07:38AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month