FILE *fp=fopen("F:\\QQBrowser_Setup_DNF.exe", "rb");
    fseek(fp, 0, SEEK_END);
    long size = ftell(fp);
    fseek(fp, 0, SEEK_SET);

    vector<unsigned char> vec;
    vec.resize(size);
    fread(&vec[0], sizeof(char), size, fp);
    fclose(fp);
    

 

posted on 2018-05-26 22:40  Ebrietas  阅读(159)  评论(0)    收藏  举报