calling all programmers v.C/C++ halp

Discussion in 'OT Technology' started by myspoonsbigger, Dec 5, 2007.

Thread Status:
Not open for further replies.
  1. myspoonsbigger

    myspoonsbigger i has the cape, i make the fucking woosh noises

    Joined:
    Nov 28, 2006
    Messages:
    298
    Likes Received:
    0
    anyone know C well?

    i'm too stupid to figure this algorithm out...
    syntax isn't my problem, just thinking through it

    i need a function that takes a char from an array (index 0-7) corresponding to the 8 phases of the moon that does this:

    using january 1, 1900 (new moon) as a reference, somehow compute the dates for which the selected phase has occurred between 1900 and 2007 (alot of results).

    then, narrow the results to only those which fall under a 5 year interval pre-specified by the user (about 60 results should be returned me thinks).

    the synodic month is 29.53 days

    pretty please? kthx :hs:
     
  2. peakhead12

    peakhead12 "Kill yourself to save the world" --Larry 2016 OT Supporter

    Joined:
    Mar 3, 2005
    Messages:
    80,946
    Likes Received:
    3,378
    fuck you newb
    post less
     
  3. Dnepr

    Dnepr Guest

  4. myspoonsbigger

    myspoonsbigger i has the cape, i make the fucking woosh noises

    Joined:
    Nov 28, 2006
    Messages:
    298
    Likes Received:
    0
    :love:
     
  5. peakhead12

    peakhead12 "Kill yourself to save the world" --Larry 2016 OT Supporter

    Joined:
    Mar 3, 2005
    Messages:
    80,946
    Likes Received:
    3,378
    but srsly,
    i would like to know how to figure this out as well
     
  6. peakhead12

    peakhead12 "Kill yourself to save the world" --Larry 2016 OT Supporter

    Joined:
    Mar 3, 2005
    Messages:
    80,946
    Likes Received:
    3,378
  7. myspoonsbigger

    myspoonsbigger i has the cape, i make the fucking woosh noises

    Joined:
    Nov 28, 2006
    Messages:
    298
    Likes Received:
    0
    yes please :hs:
     
  8. peakhead12

    peakhead12 "Kill yourself to save the world" --Larry 2016 OT Supporter

    Joined:
    Mar 3, 2005
    Messages:
    80,946
    Likes Received:
    3,378
    maybe noods of rihanna would help
    or jailbait?
     
  9. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    sounds like a homework problem
     
Thread Status:
Not open for further replies.

Share This Page