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

Join 136,470 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,556 people online right now. Registration is fast and FREE... Join Now!




C++ + TREES + DATA STRUCTURES

 
Reply to this topicStart new topic

C++ + TREES + DATA STRUCTURES

rajesh_strg
30 Jun, 2008 - 11:13 PM
Post #1

New D.I.C Head
*

Joined: 30 Jun, 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
+Quote Post

rajesh_strg
RE: C++ + TREES + DATA STRUCTURES
30 Jun, 2008 - 11:28 PM
Post #2

New D.I.C Head
*

Joined: 30 Jun, 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: 30 Jun, 2008 - 11:35 PM
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: C++ + TREES + DATA STRUCTURES
30 Jun, 2008 - 11:30 PM
Post #3

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,212



Thanked: 215 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 online!Profile CardPM
+Quote Post

rajesh_strg
RE: C++ + TREES + DATA STRUCTURES
1 Jul, 2008 - 12:29 AM
Post #4

New D.I.C Head
*

Joined: 30 Jun, 2008
Posts: 9

thanks for u r reply.......
User is offlineProfile CardPM
+Quote Post

captainhampton
RE: C++ + TREES + DATA STRUCTURES
2 Jul, 2008 - 05:24 AM
Post #5

Jawsome++;
Group Icon

Joined: 17 Oct, 2007
Posts: 518



Thanked: 2 times
Dream Kudos: 825
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
+Quote Post

Reply to this topicStart new topic
Time is now: 12/2/08 05:46PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month