随笔分类 -  C/C++基础

摘要:1.C++多线程复杂程序如何安全退出? https://mp.weixin.qq.com/s/dNGzSIFUHLyCmU8eh7Gl7w 2.protobuf (1)Protobuf-C开源库--0x00 https://mp.weixin.qq.com/s/JRgUNcsaWujbPUJYAch 阅读全文
posted @ 2026-04-11 15:08 良浸泽木 阅读(14) 评论(0) 推荐(0)
摘要:构造函数私有化或保护化摘自: https://blog.csdn.net/caoyangxiaoyao/article/details/81184786构造函数私有化/保护化可以将构造函数设置为私有函数,但是这样做就无法从外部直接调用构造函数,因此就无法直接构造这个类的对象。1.如果你不想让外面的用 阅读全文
posted @ 2023-04-24 11:24 良浸泽木 阅读(161) 评论(0) 推荐(0)
摘要:1.gdb 调试so库 2.linux gdb 调试SO库 阅读全文
posted @ 2022-11-22 15:48 良浸泽木 阅读(226) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/wohu1104/article/details/125052150 阅读全文
posted @ 2022-08-03 13:33 良浸泽木 阅读(161) 评论(0) 推荐(0)
摘要:基类转换为子类,dynamic_cast普通的类,dynamic_pointer_cast为智能指针时。 https://blog.csdn.net/jiayizhenzhenyijia/article/details/98209529 阅读全文
posted @ 2022-07-21 14:33 良浸泽木 阅读(152) 评论(0) 推荐(0)
摘要:分隔字符非常有用的https://blog.csdn.net/red_red_red/article/details/84260967 阅读全文
posted @ 2022-07-19 16:36 良浸泽木 阅读(50) 评论(0) 推荐(0)
摘要:随机数的产生。 https://blog.csdn.net/qq_41904635/article/details/104462373 阅读全文
posted @ 2022-07-18 12:00 良浸泽木 阅读(98) 评论(0) 推荐(0)
摘要:将左值变为右值使用。 https://blog.csdn.net/Huoon/article/details/113917219 阅读全文
posted @ 2022-07-16 15:08 良浸泽木 阅读(63) 评论(0) 推荐(0)
摘要:map不允许重复,multimap允许重复。 https://blog.csdn.net/CV_Jason/article/details/83818549。 阅读全文
posted @ 2022-07-14 13:19 良浸泽木 阅读(88) 评论(0) 推荐(0)
摘要:函数后面加override关键字的,继承类中必须重写。 https://www.qb5200.com/article/324176.html 阅读全文
posted @ 2022-07-14 13:13 良浸泽木 阅读(282) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_41694204/article/details/82620467 区分不区分在小写。 阅读全文
posted @ 2022-07-14 10:38 良浸泽木 阅读(65) 评论(0) 推荐(0)
摘要:C++11新特性之十一:emplace 阅读全文
posted @ 2022-07-13 15:29 良浸泽木 阅读(45) 评论(0) 推荐(0)
摘要:1.CMake编译时支持GDB调试 阅读全文
posted @ 2022-07-13 13:56 良浸泽木 阅读(73) 评论(0) 推荐(0)
摘要:1.【杂项学习】linux下使用Cmake+GDB断点调试 2.GDB gdb 调试 阅读全文
posted @ 2022-07-13 13:47 良浸泽木 阅读(44) 评论(0) 推荐(0)
摘要:1.C++11 weak_ptr智能指针(一看即懂) 2.C++智能指针weak_ptr详解 阅读全文
posted @ 2022-07-12 14:27 良浸泽木 阅读(25) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_38339025/article/details/89161324 阅读全文
posted @ 2022-07-12 14:02 良浸泽木 阅读(14) 评论(0) 推荐(0)
摘要:可参见:https://blog.csdn.net/Vikanill/article/details/107057309 阅读全文
posted @ 2022-04-12 11:55 良浸泽木 阅读(37) 评论(0) 推荐(0)
摘要:一、在QT下使用C11的函数 1 #pragma once 2 //C11的方法 3 #include <thread> // std::thread, std::this_thread::sleep_for 4 #include <chrono> // std::chrono::seconds 5 阅读全文
posted @ 2021-12-17 16:18 良浸泽木 阅读(263) 评论(0) 推荐(0)
摘要:来自:https://blog.csdn.net/weixin_41882459/article/details/111060429 1.下载需要安装的qt creator版本,我下载的是:5.12版本,网址:download.qt.io/archive/qt/5.12/5.12.0/ 2.开始安装 阅读全文
posted @ 2021-12-17 15:44 良浸泽木 阅读(1414) 评论(0) 推荐(0)
摘要:工具:vs自带的developer command for VS2015命令 dumpbin /EXPORTS aaa.dll // 查看内部函数 dumpbin /DEPENDENTS aaa.dll // 查看相关依赖 阅读全文
posted @ 2021-11-26 15:33 良浸泽木 阅读(277) 评论(0) 推荐(0)