get file size
来源:互联网 发布:手机淘宝装修与pc同步 编辑:程序博客网 时间:2024/05/22 01:35
int read_filesize(char *fileName)
{
int fileSize;
FILE *fPtr;
fPtr = fopen(fileName, "rb");
if(fPtr == NULL) return -2;
fileSize = 0;
fseek(fPtr,0,SEEK_END);
fileSize = ftell(fPtr);
fclose (fPtr);
return fileSize;
}
0 0
- get file size
- Get File Size using Javascript
- Get File Size on Terminal
- File Size
- Get terminal window size
- Get the directory size
- Java - Get object size
- Standard C++ file size
- size of control file
- HDFS 的 file size 和 block size
- How to get the size of file in C++ - 在C++中如何获取文件的大小
- ios::ate places the get-position pointer at the file end, enable tellg() to return the size of the f
- Xamarin.Android Get Screen size
- File size and variable capacity
- “File Size Limit Exceeded”问题
- "File size limit exceeded" 问题
- (转)File size limit exceeded
- linux core file size 编程
- High-Performance server architecture
- 比较3数大小(引用类型做参数)
- SQL中EXISTS的用法
- android资源文件io,以及内存外存的io
- VS2010里新建Qt项目库路径
- get file size
- Android:SQLite3的使用
- 用指针排序数组
- log4j 单文件、多文件简单配置使用
- 游戏引擎中的通用编程技术
- 动态规划之求矩阵两点最短路线
- Ext.view.View中itemSelector的作用
- 工业级国产曲线绘制工具CChart的主页开通
- 小心多任务设计被滥用