Mercurial > codedump
view ken_source_downloader.c @ 127:fd2ea604dcf2 default tip
hg: clean up stupid subrepo crap
author | Paper <paper@tflc.us> |
---|---|
date | Tue, 25 Mar 2025 00:26:18 -0400 |
parents | 05803e046878 |
children |
line wrap: on
line source
#include <time.h> #include <stdio.h> #include <stdlib.h> int main(void) { srand(time(NULL)); FILE* ken = fopen("MVI_1332 (2).MOV", "w"); long i; for (i = 0; i <= 1529118700; i++) { fprintf(ken, "%c", rand() % 255); // make it 500x slower printf("Downloading ken source... %d%% complete\r", i/1529118700*100); } fclose(ken); }