Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Check out my program

Name: Anonymous 2015-05-03 13:04

#include <stdio.h>
#include <unistd.h>
#define LEN 15
int print(i,j) {
for (; i < LEN; ++i)
printf(" ");
puts("a");
usleep(50000);
return 0;
}
int main(void)
{
int i, j;
for(;;) {
for (j = 0; j < LEN; print(i), ++j)
i = j;
for (j = 0; j < LEN; print(i), ++j)
i = LEN-1-j;
}
return 0;
}


Do you like it?

At first I tried to make it be the SICP snake, with the head going down, but it was too hard for me.

Name: Anonymous 2015-05-04 17:21

>>12
Why should it display any warnings? It looks okay to me.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List