About Gregorian calendar code

This is a discussion on About Gregorian calendar code within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Hello all. First of all, I would like to make clear that this in not a C programming question, but ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Location
    Mexico City
    Posts
    33

    Question About Gregorian calendar code

    Hello all.
    First of all, I would like to make clear that this in not a C programming question, but it has to do with it.

    About a year a go I made a program in C that computes the day of the week of a particular date, after christ.

    I wanted to have this program running, but not in a computer; instead, in a mechanical machine. With a little time, I solved the thing with 2 small concentric discs. The discs are marked with CENTURIES, YEARS, MONTHS, and DAYS. All you have to do is rotate the discs in a manner so that you can compute the day of the week by watching trought a little hole in one of them. Unfortunately, you can compute dates only and only if the date is between 1600 and 2000.

    Now the question is: Would someone be interested in buying such a thing and hang it on the wall of his/her home?
    I live in Mexico City, and no one here is interested in nowing the day of the week he or she was born, or when a particular date is Saturday or Sunday ????

    But, maybe if I go to the piramids of Teotihuacan, and offer this thing to the foreing people that comes to my country to see something curious, maybe I would have some luck. What do you think ????
    Last edited by Dave_Sinkula; 10-06-2006 at 07:54 PM. Reason: Removed color. (All emphasis = no emphasis.)
    If you want to be happy one hour: take a nap
    if you want to be happy one day: go fishing
    If you want to be happy a year: inherit a fortune
    if you want to be happy for a life time: HELP SOMEBODY
    chinisse say.

  2. #2
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    This has nothing to do with C programming. Also there is a General discussion board that would be better suited for this. Although, I would have to check but I this may fall into the advertisement rule.

  3. #3
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    <<moved>>
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  4. #4
    Cat Lover
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    109
    Market it as a genuine Aztec, Spanish, etc artefact, whichever one they like the sound of better, and surely someone will buy it eventually.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended ASCII Characters in an RTF Control
    By JustMax in forum C Programming
    Replies: 18
    Last Post: 04-03-2009, 08:20 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 07:34 AM
  3. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 10:20 AM
  4. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 03:17 PM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM

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