CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: Traversing this

Threaded View

  1. #1
    Join Date
    May 2003
    Posts
    347

    Traversing this

    Hello All,

    I have a tree, like shown in the bitmap, att. I want to traverse all the paths and print it. Can you pls write me the a reccurssive function for this.

    For the tree I have given , o/p should be

    A1B1C1D1
    A1B1C1D2
    A1B1C1D3
    A1B1C2


    Thanks
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured