Wednesday, November 01, 2006

The Sun and the Moon

Hacked out a bit of C code to determine the exact date and time that the Sun and Moon change their signs, for each year from 1925 right through to 2025.

Spent most of the time determining the best output format, which ended up being a plain text file, with one record per line, saved as a Word document for some reason. And then, lastly, discovered I had mis-spelt Sagittarius, so I had to re-run them all (after all that I realised I could simply have done a Find/Replace in the generated Word document - but there you go)

No comments: