#include <iostream>
#include <stdio.h>
extern long FileSizeof(char *);
int main()
{
  if(FileSizeof("\\a.exe")==20499)    #指定文件大小
  {
    std::cout<<"没有被破解"<<std::endl;
    getchar();
  }else
  {
    std::cout<<"已经被破解"<<std::endl;
    getchar();
  }
  return 0;
}
extern long FileSizeof(char *FileName) {     FILE *fop;     long temp;     fop=fopen(FileName,"r");     fseek(fop,0,SEEK_END);     temp=ftell(fop);     fclose(fop);     return temp; }

 

相关文章:

  • 2022-12-23
  • 2021-09-20
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
猜你喜欢
  • 2021-10-05
  • 2021-05-24
  • 2023-03-20
  • 2021-05-27
  • 2022-12-23
  • 2022-02-21
相关资源
相似解决方案