会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
独孤_败天
博客园
首页
新随笔
联系
订阅
管理
2025年12月8日
threadDay01
摘要: #include <iostream> #include <thread> #include <condition_variable> #include <queue> #include <mutex> std::queue<int> g_queue; std::condition_variable
阅读全文
posted @ 2025-12-08 22:53 巨兽~墨菲特
阅读(3)
评论(0)
推荐(0)
2025年12月4日
day08 动态链接库
摘要: 1. extern "C"指定使用C语言的命名修饰约定防止C++编译器进行名称重整(name mangling)使得导出的函数名在DLL中保持原样便于其他语言(C、C#、VB、Python等)调用对比示例:// C++风格(有名称重整)int __declspec(dllexport) add(in
阅读全文
posted @ 2025-12-04 10:00 巨兽~墨菲特
阅读(8)
评论(0)
推荐(0)
day07 List组件
摘要: #include <Windows.h> #include <CommCtrl.h> #include <windowsx.h> #include "resource.h" /** 通用控件 需要捕获notify消息 WM_NOTIFY 消息 当事件发生或控件需要一些信息时,由公共控件发送到其父窗口
阅读全文
posted @ 2025-12-04 09:25 巨兽~墨菲特
阅读(5)
评论(0)
推荐(0)
2025年12月2日
day06 滑块进度条
摘要: #include <Windows.h> #include <CommCtrl.h> #include <windowsx.h> #include "resource.h" /** void DialogBoxW( [in, optional] hInstance, 包含对话框模板的模块句柄。 如果
阅读全文
posted @ 2025-12-02 13:26 巨兽~墨菲特
阅读(2)
评论(0)
推荐(0)
2025年12月1日
day05 控件的使用
摘要: /** GetDlgItem 获取窗口句柄 SendMessage 发送消息 MoveWindow GetWindowText getParent ShowWindow 空间被用户操作的时候,会给父窗口发送消息 我们根据用户的动作去实现一些功能 我们需要使用代码控制去干一些事情,一般情况下都是Get
阅读全文
posted @ 2025-12-01 17:55 巨兽~墨菲特
阅读(3)
评论(0)
推荐(0)
DAY04 资源操作
摘要: 图标资源 菜单资源 对话框资源 #include <Windows.h> #include <CommCtrl.h> #include <tchar.h> #include "resource1.h" //添加了 CALLBACK 调用约定 LRESULT CALLBACK Wndproc( HWN
阅读全文
posted @ 2025-12-01 10:38 巨兽~墨菲特
阅读(5)
评论(0)
推荐(0)
2025年11月27日
day03窗口操作函数的使用
摘要: 窗口操作函数的使用 1 #include <Windows.h> 2 #include <CommCtrl.h> 3 #include <tchar.h> 4 /** 5 窗口操作函数的使用 6 7 */ 8 static HBRUSH hBackgroundBrush; 9 10 void pri
阅读全文
posted @ 2025-11-27 09:09 巨兽~墨菲特
阅读(4)
评论(0)
推荐(0)
2025年11月26日
DAY02 窗口控件
摘要: 1 #include <Windows.h> 2 #include <CommCtrl.h> 3 #include <tchar.h> 4 /** 5 // 正确的按钮创建 6 CreateWindowW( 7 L"BUTTON", // 窗口类名 8 L"按钮1", // 按钮文本 9 WS_VI
阅读全文
posted @ 2025-11-26 13:52 巨兽~墨菲特
阅读(5)
评论(0)
推荐(0)
2025年6月23日
java流Stream
摘要: import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; public class StreamDemo1 { public static void main(String[] ar
阅读全文
posted @ 2025-06-23 21:57 巨兽~墨菲特
阅读(8)
评论(0)
推荐(0)
2025年4月16日
Day01-数据类型
摘要: 数据类型 在仓颉编程语言中,class 和 Array 等类型属于引用类型,其他基础数据类型和 struct 等类型属于值类型。 struct Copy { var data = 2012 } class Share { var data = 2012 } main() { let c1 = Cop
阅读全文
posted @ 2025-04-16 14:55 巨兽~墨菲特
阅读(19)
评论(0)
推荐(0)
下一页
公告