Thursday, November 01, 2007

How many of us die in the while loop?

#include "lifestd.h"
int main() {
Human U;
while( U.Thinks( "This isn't life" ) )
{
if( U.age.expired() == true )
U.die( 1 );
U.age++;
}
U.live();
// dying is part of living
return 0;
}

2 comments:

mirkhosro said...

من موندم اون آرگومانی که به die() پاس کردی کارش چیه؟

Anonymous said...

U c the argument passed to the die() call would help the little devils in hell to identify the state of whom they serve.
I happen to know what some of the arguments mean:
1 : Death while waiting to live;
Sorry, the other codes are Top Secret
:D