1:16 AM - Help me decide
I now have 3 different splash screens on foolishgames.com. They rotate "randomly". Tell me which one you like the best.
1. The old one
2. A flower
3. Similar to the old one but "full screen"
If you're wondering how i made them random...
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
FILE *fp;
int i;
char filename[10];
char c;
memset(filename, 0, 10);
sranddev();
i = rand() % 3;
sprintf( filename, "%d.txt", i );
fp = fopen(filename, "r");
if (fp) {
while (!feof(fp)) {
c = fgetc(fp);
if (c != EOF)
fputc(c, stdout);
}
}
fclose(fp);
return 0;
}