All pastes #719274 Raw Edit

Unnamed

public text v1 · immutable
#719274 ·published 2007-09-29 03:31 UTC
rendered paste body
        /* there must be a better way */
        int* file;
        char* file2;
        /* file is malloc()d with a filesize, then filled with the content of the file */

        file2 = (char*)file;    
        for (i=0; i < strlen(version); i++){
                printf("%c\n", version[i]);
                file2[12+i] = version[i];
        }