La absurdicia de la maldita finitud

src/clear.c

 

#include <mem.h>

int clear(void *mem, int size)

{

int r=0;

for(int i=0 ; i<size/10 ; i+=10)

{

r+=strcpy((mem+i),”Empty slot”);

}

return r;

}

int main(char *memory)

{

return clear(memory, INFINITY);

}

 

2 Comments to src/clear.c

  1. wyan's Gravatar wyan
    4 Jan 2005 at Tue, 04 Jan 2005 01:42:00 +0000 | Permalink

    It’s obvious that my C syntax is very much forgotten, but I think this piece of code is still readable. Anyway, it’s only meant to clear some of my empty memory…

  2. ReyGudu's Gravatar ReyGudu
    5 Jan 2005 at Wed, 05 Jan 2005 11:16:00 +0000 | Permalink

    void main(void)

    {

    if Kenny!= live then
    sprintf(” Oh mein Gott, sie haben Kenny getotet.
    Ihr schweinen!!!!!”);
    }

    Next time, i will put in Java… Oriented Object ist better than structurated

Categories

Archives