摘要:
#include "stdafx.h"#include#include#includeusing namespace std;DWORD WINAPI thread1(LPVOID param){ char buf[256]; DWORD rlen=0; HANDLE hPipe ... 阅读全文
摘要:
服务器: 1 #include "stdafx.h" 2 #include 3 #include 4 #include 5 #include 6 7 #define BUFSIZE 512 8 9 DWORD WINAPI InstanceThread(LPVOI... 阅读全文
摘要:
_tprintf() 是 printf() 和 wprintf() 的通用类型;如果定义了 _unicode,那么 _tprintf() 就会转换为 wprintf(),否则为 printf() 。在这 3 个函数中有两个字符串控制输出字符为 %s 和 %S 。使用它们时,有如下区别:%s当使用 p... 阅读全文