使用Windows API读取文件数据的例子

#include <windows.h> #include <stdio.h>windows int main(int argc,char** argv) {  HANDLE hFile;  char* buffer;  DWORD bytesreaded=0;  UINT DataSize=8;  //open file  hFile=CreateFile("test.data",GENERIC
相关文章
相关标签/搜索