//传入参数是文件的绝对路径 int iGetFileSize(char *filepath) { int temp; FILE * fp; fp = fopen( filepath,"r"); fseek(fp,0L,SEEK_END); size = ftell(fp); // printf("filelength is %d KB\n",size); getch(); return size; }
by: 发表于:2017-06-20 16:12:41 顶(0) | 踩(0) 回复
??
by: 发表于:2017-06-20 16:12:41 顶(0) | 踩(0) 回复
??
回复评论