lxg

导航

 
上一页 1 2 3 4 5 6 ··· 10 下一页

2023年7月25日

摘要: //参考:https://dgrt.cn/a/1328707.html?action=onClick void QtWidgetsApplication1::initTreeView(){ ui.treeView->setEditTriggers(QTreeView::NoEditTriggers) 阅读全文
posted @ 2023-07-25 16:35 lxg_7105 阅读(456) 评论(0) 推荐(0)
 

2023年7月16日

摘要: #pragma once#include <map> //TracerNew.h void* operator new(size_t size, const char* file, long line);void* operator new(size_t size);void operator de 阅读全文
posted @ 2023-07-16 11:47 lxg_7105 阅读(73) 评论(0) 推荐(0)
 

2023年7月15日

摘要: 在可能泄漏的文件头部加入下面几行(保证malloc和new的泄漏都可以检测到) #define _CRTDBG_MAP_ALLOC #include <crtdbg.h> #ifdef _DEBUG //重载new运算符 #define new new(_NORMAL_BLOCK, __FILE__ 阅读全文
posted @ 2023-07-15 12:06 lxg_7105 阅读(182) 评论(0) 推荐(0)
 

2023年7月10日

摘要: 引自:https://blog.csdn.net/weixin_43795921/article/details/127224633 template <typename IdentifierType, class AbstractProduct, class ProductCreator = Ab 阅读全文
posted @ 2023-07-10 16:36 lxg_7105 阅读(203) 评论(0) 推荐(0)
 

2023年7月7日

摘要: https://blog.csdn.net/weixin_43553694/article/details/104118402 1、首先当前分支 “提交” 并 “推送” 到服务器上,比如开发分支 dev 合并到 master 上 2、右键 > “切换分支” 到要合并的分支 master 3、拉取最新 阅读全文
posted @ 2023-07-07 11:54 lxg_7105 阅读(1294) 评论(0) 推荐(0)
 

2023年6月29日

摘要: 引自:https://blog.csdn.net/weixin_50016546/article/details/129778052 阅读全文
posted @ 2023-06-29 13:45 lxg_7105 阅读(32) 评论(0) 推荐(0)
 

2023年4月25日

摘要: https://blog.csdn.net/blqzj214817/article/details/115213617 阅读全文
posted @ 2023-04-25 16:26 lxg_7105 阅读(123) 评论(0) 推荐(0)
 

2022年4月13日

摘要: // 用于表明一个类是不允许被拷贝的#define CANNOT_COPY(Classname) \ private: \ Classname(const Classname&); // 用于表明一个类是不允许被赋值的#define CANNOT_ASSIGN(Classname) \ privat 阅读全文
posted @ 2022-04-13 09:50 lxg_7105 阅读(62) 评论(0) 推荐(0)
 

2021年9月20日

摘要: (1)C++调用C函数: //xx.h extern int add(...) //xx.c int add(){ } //xx.cpp extern "C" { #include "xx.h" } (2)C调用C++函数 //xx.h extern "C"{ int add(); } //xx.c 阅读全文
posted @ 2021-09-20 21:22 lxg_7105 阅读(42) 评论(0) 推荐(0)
 

2021年9月11日

摘要: #include <iostream>#include <thread>#include <future>#include <vector>#include <mutex> std::mutex mtx; using namespace std;using namespace chrono; tem 阅读全文
posted @ 2021-09-11 12:55 lxg_7105 阅读(362) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 ··· 10 下一页