02 2025 档案

摘要:1、主线程 1、当一个类在main函数中new出或新建了一个MainWindow对象,那么MainWindow所有函数执行都在main函数这个线程中进行,也就是主线程(UI线程) 2、子线程 1、当在MainWindow类中new一个新对象 阅读全文
posted @ 2025-02-23 20:45 变秃了也就变强了 阅读(2) 评论(0) 推荐(0) 编辑
摘要:1、log.h中宏定义 #ifndef LOG_H #define LOG_H #include <stdio.h> #include <iostream> #include <chrono> #include <ctime> #include <mutex> #define LOG_PRINTF( 阅读全文
posted @ 2025-02-12 21:48 变秃了也就变强了 阅读(6) 评论(0) 推荐(0) 编辑
摘要:1、 C++ 命名规则总结 命名风格 适用场景 示例 大驼峰(PascalCase) ✅ 类名 class NetworkManager; ✅ 结构体名 struct SystemPara; ✅ typedef结构体别名 typedef struct Point3D{.....}Point3D_t, 阅读全文
posted @ 2025-02-09 18:52 变秃了也就变强了 阅读(15) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示