All pastes #499497 Raw Edit

Seykron

public c v1 · immutable
·published 2007-05-21 02:31 UTC
rendered paste body
/* * LIFE.C - Life implementation module * * May 17, 2007 *     Developed by The Programmer <the.programmer@life.lol> * */#include <stdio.h>#include <stdlib.h>#include <time.h>#define ACTION_PROGRAMMING 0x1337int main (){  time_t seconds;  while ( !muerte ) {    while  ( (seconds % 3600) != 0)      pensar(ACTION_PROGRAMMING);      seconds = time (NULL);    }    if ( !descansar(rand(), rand(), rand() & 1, rand() & 1) ) {      break;    }  }  return (NULL);}int pensar(int topic){  char *memoria;  if ( topic != ACTION_PROGRAMMING) {    Sleep(36000);    return(1057);  }  else {    memoria = malloc( (size_t) INFINITE);       return(101);  }  }int descansar(int trabajo, int estres, int depresion, int diversion){  if ( trabajo && estres && depresion && !diversion ) {    return (false);  }  else {    return (true);  }}