Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. Implementing Tree Data Strucure in C#

Implementing Tree Data Strucure in C#

Scheduled Pinned Locked Moved Algorithms
data-structurescsharpc++tutorial
8 Posts 4 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arindam Tewary
    wrote on last edited by
    #1

    Can anyone please guide me implementing Tree Data structure in C#. Since we dont have a pointer type in C# I was implementing it using in built Array data type but I have very tough time implementing it in array. Since I have already implemented this tree strucure in C, C++ so I have the cocept. Now if you can give me little guidance and I hope I can implement it. Thanks in advance.:) Arindam D. Tewary

    P S 2 Replies Last reply
    0
    • A Arindam Tewary

      Can anyone please guide me implementing Tree Data structure in C#. Since we dont have a pointer type in C# I was implementing it using in built Array data type but I have very tough time implementing it in array. Since I have already implemented this tree strucure in C, C++ so I have the cocept. Now if you can give me little guidance and I hope I can implement it. Thanks in advance.:) Arindam D. Tewary

      P Offline
      P Offline
      prasad_som
      wrote on last edited by
      #2

      How this question fits here ? Use appropriate[^] forum instead.

      Prasad Notifier using ATL | Operator new[],delete[][^]

      A 1 Reply Last reply
      0
      • P prasad_som

        How this question fits here ? Use appropriate[^] forum instead.

        Prasad Notifier using ATL | Operator new[],delete[][^]

        A Offline
        A Offline
        Arindam Tewary
        wrote on last edited by
        #3

        Dear Prasad, I am sorry if i have posted it in wrong forum. But dont you think someone can pop up there also to ask me to post the same in algorithm forum ( as data structure and algorithm comes with one another) here ? Event I dintk ask specific implementation. But I just asked idea about how to proceed taking C# language in mind and the reason is also ABSENCE of POINTER TYPE in C#. Once again I am sorry.

        Thanks, Arindam D Tewary

        P 1 Reply Last reply
        0
        • A Arindam Tewary

          Dear Prasad, I am sorry if i have posted it in wrong forum. But dont you think someone can pop up there also to ask me to post the same in algorithm forum ( as data structure and algorithm comes with one another) here ? Event I dintk ask specific implementation. But I just asked idea about how to proceed taking C# language in mind and the reason is also ABSENCE of POINTER TYPE in C#. Once again I am sorry.

          Thanks, Arindam D Tewary

          P Offline
          P Offline
          prasad_som
          wrote on last edited by
          #4

          Arindam, You mentioned, you have already done this in C++. So only remaining part here I can see is, how to achieve this using C#. Thats why I suggested to C# forum.

          Prasad Notifier using ATL | Operator new[],delete[][^]

          A 1 Reply Last reply
          0
          • P prasad_som

            Arindam, You mentioned, you have already done this in C++. So only remaining part here I can see is, how to achieve this using C#. Thats why I suggested to C# forum.

            Prasad Notifier using ATL | Operator new[],delete[][^]

            A Offline
            A Offline
            Arindam Tewary
            wrote on last edited by
            #5

            Dear Prasad, Thank you very much.

            Thanks, Arindam D Tewary

            1 Reply Last reply
            0
            • A Arindam Tewary

              Can anyone please guide me implementing Tree Data structure in C#. Since we dont have a pointer type in C# I was implementing it using in built Array data type but I have very tough time implementing it in array. Since I have already implemented this tree strucure in C, C++ so I have the cocept. Now if you can give me little guidance and I hope I can implement it. Thanks in advance.:) Arindam D. Tewary

              S Offline
              S Offline
              Stefan Troschuetz
              wrote on last edited by
              #6

              These articles here on CP may help you: Generic Tree [^] A Tree Collection[^]


              "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

              www.troschuetz.de

              A 1 Reply Last reply
              0
              • S Stefan Troschuetz

                These articles here on CP may help you: Generic Tree [^] A Tree Collection[^]


                "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

                www.troschuetz.de

                A Offline
                A Offline
                Arindam Tewary
                wrote on last edited by
                #7

                Dear Stefan, Many thanks to you. I am seeing the article link you have posted is really very helpfull. :cool: Thank you very much Stefan.

                Thanks, Arindam D Tewary

                B 1 Reply Last reply
                0
                • A Arindam Tewary

                  Dear Stefan, Many thanks to you. I am seeing the article link you have posted is really very helpfull. :cool: Thank you very much Stefan.

                  Thanks, Arindam D Tewary

                  B Offline
                  B Offline
                  Bulky Fellow
                  wrote on last edited by
                  #8

                  Switch to unsafe mode, and freak out with pointers. It's your memory and you paid for it :->

                  ASP - AJAX is SEXY. PERIOD.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups