摘要: `#include <string.h> include <stdlib.h> include <stdio.h> int func1(int a) { printf("haha a\n"); //printf("haha a=%d\n", 2); a++; return a; } class cl 阅读全文
posted @ 2023-12-18 09:29 hn_xs_zhongjx 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 如题 点击查看代码 #include <X11/Xlib.h> #include <stdio.h> void findWindow(Display* display, Window window, char** windowName, Window* result) { Window root, 阅读全文
posted @ 2023-04-26 10:24 hn_xs_zhongjx 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 代码: #include <string.h> #include <iconv.h> #include <iostream> using namespace std; int code_convert(char *from_charset, char *to_charset, char *inbuf 阅读全文
posted @ 2020-11-05 11:24 hn_xs_zhongjx 阅读(150) 评论(0) 推荐(0) 编辑