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

Required

Required, hidden

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


Calendar

February 2010
M T W T F S S
« Dec    
1234567
891011121314
15161718192021
22232425262728

Most Recent Posts