VC C/C++ 4种方法获取文件大小 Windows API

#include <iostream> #include <windows.h> #include <io.h> #include <sys\stat.h> using namespace std; void main() { char *filepath = "C:\\1.txt"; //方法一 HANDLE handle = CreateFile(filepa
相关文章
相关标签/搜索