上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 36 下一页
摘要: /* 创建第一个线程。主进程结束,则撤销线程。 */ #include<Windows.h> #include<stdio.h> DWORD WINAPI ThreadFunc(LPVOID); void main() { HANDLE hThread; DWORD threadId; hThrea 阅读全文
posted @ 2020-03-27 10:42 strive-sun 阅读(441) 评论(0) 推荐(0) 编辑
摘要: void WINAPI CaptureScreenIntoFile() { BITMAPFILEHEADER bfHeader; BITMAPINFOHEADER biHeader; HGDIOBJ hTempBitmap; HBITMAP hBitmap; BITMAP bAllDesktops; 阅读全文
posted @ 2020-03-26 17:44 strive-sun 阅读(209) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <stdio.h> using namespace std; char* Capital_to_Small(char* str) { char* temp = str; int len = strlen(temp); for (int i = 阅读全文
posted @ 2020-03-26 14:36 strive-sun 阅读(1915) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> #include <sstream> #include <fstream> #include <Windows.h> using namespace std; int main() { char str[MAX_PATH]; 阅读全文
posted @ 2020-03-26 13:55 strive-sun 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <string> #include <sstream> #include <fstream> #include <Windows.h> using namespace std; int main() { HKEY key; if (RegOp 阅读全文
posted @ 2020-03-26 10:09 strive-sun 阅读(653) 评论(0) 推荐(0) 编辑
摘要: #include <Windows.h> #include <Icm.h> #include <iostream> #include <string> #pragma comment(lib,"Mscms.lib") #define MAX_PATH 1024 BOOL flag = 0; int 阅读全文
posted @ 2020-03-25 13:35 strive-sun 阅读(387) 评论(0) 推荐(0) 编辑
摘要: std::string str = "abc"; const char *p = str.data(); 更多: https://www.cnblogs.com/devilmaycry812839668/p/6353807.html 阅读全文
posted @ 2020-03-23 17:02 strive-sun 阅读(474) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #pragma warning(disable:4996); using namespace std; char* t = (char*)malloc(1024); char* _strcut(char* des, char* src) { memset(t, 阅读全文
posted @ 2020-03-19 14:26 strive-sun 阅读(923) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <stdio.h> using namespace std; char *_strcpy(char* des, char* src) { if (des == NULL || src == NULL) { return 0; } // cou 阅读全文
posted @ 2020-03-18 18:13 strive-sun 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 第一种,依托WMI #define _WIN32_DCOM #include <iostream> using namespace std; #include <comdef.h> #include <Wbemidl.h> # pragma comment(lib, "wbemuuid.lib") 阅读全文
posted @ 2020-03-18 11:21 strive-sun 阅读(7767) 评论(2) 推荐(1) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 36 下一页