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. The Lounge
  3. Programming question

Programming question

Scheduled Pinned Locked Moved The Lounge
questioncomdata-structures
24 Posts 14 Posters 0 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.
  • P PIEBALDconsult

    He started from an obviously flawed premise. The software should allow the user to do whatever he darn well pleases.

    G Offline
    G Offline
    GenJerDan
    wrote on last edited by
    #21

    Oh, that way madness lies; let me shun that. :)

    Never give aversion therapy to a masochist. The results are unpredictable. My Mu[sic] My Films My Windows Programs, etc.

    1 Reply Last reply
    0
    • M mav octaval

      Which is the best data structure to hold data like this?

      -- Software Engineering

      M Offline
      M Offline
      Mark_Wallace
      wrote on last edited by
      #22

      *sigh* Yet another programmer who can't handle recursion...

      I wanna be a eunuchs developer! Pass me a bread knife!

      M 1 Reply Last reply
      0
      • D Dan Neely

        Eventually something like that will happen to almost everyone's family tree once they trace their ancestors back into small farming villages. Population mobility wasn't high enough to prevent it.

        3x12=36 2x12=24 1x12=12 0x12=18

        W Offline
        W Offline
        wizardzz
        wrote on last edited by
        #23

        If you go back 30 generations, your distinct number of ancestors will outnumber the world population at the time. All of this stuff is extremely interesting from a maths perspective.

        Craigslist Troll: litaly@comcast.net "I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson

        1 Reply Last reply
        0
        • M Mark_Wallace

          *sigh* Yet another programmer who can't handle recursion...

          I wanna be a eunuchs developer! Pass me a bread knife!

          M Offline
          M Offline
          mav octaval
          wrote on last edited by
          #24

          In some cases applying recursion could produce a stack overflow.

          -- Software Engineering

          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