#include #include #include #include int main(void) { char alpha[] = "abcdefghijklmnopqrstuvxywz"; char *text; int i, here; srand( time(NULL) ); while (1) { fflush(NULL); memset(text, '\0', sizeof(text)); for (i=0; i<=8; i++) sprintf(text, "%s%c", text, alpha[rand() % 26]); printf("%s\n", text); } return 0; }