printing a btree using recursion

This is a discussion on printing a btree using recursion within the C++ Programming forums, part of the General Programming Boards category; ok, so i've got a binary tree coded basically completly, except that i want to be able to print the ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    106

    printing a btree using recursion

    ok, so i've got a binary tree coded basically completly, except that i want to be able to print the btree onto the screen, using recursion, because i think this would be the easiest. however, i can't seem to work out the logic. anyone got any ideas? thanks a lot!

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    106
    i really appreciate it, this is just what i needed. thanks a lot!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# Printing Problem
    By silverlight001 in forum C# Programming
    Replies: 0
    Last Post: 03-23-2009, 02:13 AM
  2. Template Recursion Pickle
    By SevenThunders in forum C++ Programming
    Replies: 20
    Last Post: 02-05-2009, 09:45 PM
  3. Printing a centric square using recursion
    By ChaosTheMatador in forum C Programming
    Replies: 1
    Last Post: 03-07-2006, 06:13 PM
  4. need help relating printing?
    By omarlodhi in forum Linux Programming
    Replies: 0
    Last Post: 03-03-2006, 04:46 AM
  5. a simple recursion question
    By tetra in forum C++ Programming
    Replies: 6
    Last Post: 10-27-2002, 10:56 AM

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