Life, in a nutshell
September 15th, 2007
#include <stdlib.h>
#define RANGE 365*120
int main()
{
int days = 0;
int presents = 0;
while(true)
{presents += (days++%365)?0:1;
/*Do Stuff*/
if( days >= rand()%RANGE)
return 0;}
}
Entry Filed under: Uncategorized
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed