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

unbreaable encryption

Name: Anonymous 2009-04-29 20:57


#include <stdio.h>

int main(int argc, char **argv)
{
    FILE *f = fopen(argv[1],"rt")
    fseek(f,0,SEEK_END);
    int length = ftell(f);
    fseek(f,0,SEEK_CUR);
   
    char fdata[length];
    fread(f,1,length,ftell);
    fclose(f);

    f = fopen("output.txt","wt");
    fwrite(fdata,1,length,f);
    fclose(f);

    return 0;
}

Name: 19 2009-04-30 15:15

My computer architecture cannot address smaller memory units than a byte. :(

I bet all you haters are the kind of people who will clear the upper bit for each character of email messages when you are writing mail servers.

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