09 2020 档案

Windows创建个人证书(C++实现,使用 as administrator)
摘要:1 #include "stdio.h" 2 #include "conio.h" 3 #include "windows.h" 4 #include "wincrypt.h" 5 #include "tchar.h" 6 7 8 #pragma comment(lib, "Crypt32.lib") 9 10 11 int SelfSignedCertificateT... 阅读全文

posted @ 2020-09-29 10:55 thinkinc999 阅读(587) 评论(0) 推荐(0)

单进程单线程IOCP的实现(含客户端和服务端)
摘要:server.cpp 1 // TestIOCPone.cpp : This file contains the 'main' function. Program execution begins and ends there. 2 // 3 #define _WINSOCK_DEPRECATED_NO_WARNINGS 4 5 #include 6 #include 7 #i... 阅读全文

posted @ 2020-09-23 10:26 thinkinc999 阅读(339) 评论(0) 推荐(0)

32/64位下面的基本数据类型的大小
摘要:1 // Test64.cpp : This file contains the 'main' function. Program execution begins and ends there. 2 // 3 4 #include 5 6 int main() 7 { 8 printf("char size = %d\n", sizeof(char)); 9 ... 阅读全文

posted @ 2020-09-21 16:44 thinkinc999 阅读(245) 评论(0) 推荐(0)

WMI 获取操作系统名称和版本
摘要:SysInfo.cpp 1 #pragma once 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 class SysInfo 11 { 12 public: 13 SysInfo(); 14 virtual ~SysInfo();... 阅读全文

posted @ 2020-09-15 18:48 thinkinc999 阅读(832) 评论(0) 推荐(0)

导航