>she freely admits she couldn't code her way out of a paper bag :) I also Oh Jesus Christ I'm bored. Oh well, here's what I have to do with my spare time (hey, it's better than writing my paper dontcha think?) #define INCH 1 #define TRUE 1 #define FALSE 0 void get_out_of_paper_bag(int inches_to_top) { int in_bag = TRUE; while (in_bag) { climb_bag(INCH); /* Don't ask me :) */ inches_to_top -= INCH; if(!inches_to_top) in_bag = FALSE; else if(inches_to_top < 0) { printf("You're already out of the bag.\n"); in_bag = FALSE; } } } +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+ | Chuck Reed | Ash of Dark Horizon | | creed@i-55.com | dh.gator.net 6001 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST