[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ProgSoc] Automated Santa 0.1



/*
 * Automated Santa
 * Version: 0.1
 *
 * http://blog.tengutech.net/2007/12/25/automated-santa-01/
 *
 */

#include <seasons_greetings.h>
#include <children.h>

char[][] children;
char[] child;

children = populateChildren();

foreach (child in children)
{
    merryChristmas(child);

    if (isBad(child))
        noPresent(child);
    else if (isGood(child))
       givePresent(child);
    else
    	logException(child, "Christmas limbo");
}

--
http://progsoc.uts.edu.au/~3trk/

-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@xxxxxxxxxxxxxxxxxxx
If you are having trouble, ask owner-progsoc@xxxxxxxxxxxxxxxxxx for help.