Thanks to Sean Proctor I have a cleaned up C sneaker program. Thanks, Sean!
To use the C version, simply compile it. I use gcc -o sneaker sneaker.c
, but you can change it for your system.
Also, be sure to check out the Literate C edition.
It's use is identical to the Perl version; the current date is used unless another is given via the command line in the form of YYYYMMDD.
I have since learned how to write C.