Trees

This is a discussion on Trees within the C++ Programming forums, part of the General Programming Boards category; I wish to program a tree, with 2 or more children off of each parent (not a binary tree) but ...

  1. #1
    Unregistered
    Guest

    Unhappy Trees

    I wish to program a tree, with 2 or more children off of each parent (not a binary tree) but cant find any tutorials or resources to help me....

    PLZ HLP

    thnx,
    Wick

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    61
    Well im not sure how much you know about trees but heres an article about trees in general. http://www.gamedev.net/reference/art...rticle1374.asp

  3. #3
    Unregistered
    Guest

    thnx

    thnx alot it really helped

  4. #4
    Unregistered
    Guest
    you can also take a look at that:

    http://www.cpp-home.com/db/db.cgi?db...s=View+Records

    It should help...

    Ilia Yordanov,
    www.cpp-home.com
    loobian@cpp-home.com

  5. #5
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    A tree is an abstract data type. It's structure contains two pointers that are linked to child nodes. Building the tree is done with a recursive function.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trees
    By masterg in forum C++ Programming
    Replies: 2
    Last Post: 12-04-2008, 12:42 PM
  2. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  3. Trees
    By samtay in forum C++ Programming
    Replies: 7
    Last Post: 03-28-2004, 08:35 AM
  4. Binary Trees...
    By SirCrono6 in forum C++ Programming
    Replies: 5
    Last Post: 11-25-2003, 03:54 PM
  5. AVL Trees
    By kwigibo in forum C Programming
    Replies: 2
    Last Post: 04-17-2002, 05:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21