2013年5月3日

windows code

摘要: #include <Windows.h>#include <stdio.h>#define BUF_SIZE 256int main(int argc, LPTSTR argv[]){ HANDLE hIn, hOut; DWORD dIn, dOut; CHAR Buffer[BUF_SIZE]; if (argc != 3) { printf("Usage: cpW file1 file2\n"); return 1; } hIn = CreateFile(argv[1], GENERIC_READ, 0, NULL, OPEN_EXISTING 阅读全文

posted @ 2013-05-03 18:13 wolflion 阅读(240) 评论(0) 推荐(0) 编辑

导航