Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
#include <stdio .h> int main(int argc, char* argv[]) { if (argc>1) { printf("%s\n", argv[1]); FILE *f; f = fopen(argv[1], "w"); int c=0, num=8192, sz=8192; char block[num]; for (c=0; c<sz ; c++) block[c] = '1'; for (c=0; c<num; c++) fprintf(f, block); fclose(f); } else printf("specify a full filename path dumbass\n"); }
This paste will be private.
From the Design Piracy series on my blog: