how to convert from solar calendar to lunar calendar??

This is a discussion on how to convert from solar calendar to lunar calendar?? within the C++ Programming forums, part of the General Programming Boards category; Please tell me some ideas to convert from solar calendar to lunar calendar...If you can, please share me codes to ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    52

    how to convert from solar calendar to lunar calendar??

    Please tell me some ideas to convert from solar calendar to lunar calendar...If you can, please share me codes to do that...Thanks very much....

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    Well I'd start with a search engine to see what the algorithms were.
    Then I'd go and implement them.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Cat
    Cat is offline
    Registered User
    Join Date
    May 2003
    Posts
    1,571
    The fact that there are many lunar calendars (e.g. the Chinese lunar calendar, the Mayan lunar calendar, the Islamic lunar calendar, the Hebrew lunar calendar...), so it's not like anyone could help at all unless you were more specific.

    For that matter there is more than one solar calendar, too, but I assume you mean the Gregorian calendar.
    You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    52
    oh,sorry...I mean I want to convert from solar to lunar in chinese calendar..Anyone can help me??thanks very much...

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Take Salem's suggestion. google("convert from solar to lunar in chinese calendar") might help.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  6. #6
    Registered User
    Join Date
    Sep 2006
    Posts
    52
    sorry..I look up on google,but I don't have any informations about this program by C++/C..Please help me...

  7. #7
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Programming is about problem solving. C++ is a tool for solving problems. You need to implement a solution to the problem in C++. The techniques for solving the problem have been provided to you.

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

  8. #8
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    > Programming is about problem solving
    Absolutely!

    > but I don't have any informations about this program by C++/C
    Gee, just a few clicks and then this
    http://www.math.nus.edu.sg/aslaksen/.../chinese.shtml

    As Tonto said, sometimes you actually have to work at solving problems rather than hoping to find someone to spoon-feed you the answer, or otherwise find a ready-made answer on the web.

    If you ever hope to be in the position to create these primary implementations rather than just having the google / nagging skills to get others to find them for you, then you need to start paying attention.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Convert Char to Int Function
    By drdroid in forum C++ Programming
    Replies: 9
    Last Post: 02-19-2003, 11:53 AM

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