上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: # C++-mutex(待验证) 在使用std::mutex时,应该声明为全局或者类的静态成员变量。 ``` class A { public: void f(); public: static std::mutex m_Mutex; } std::mutex _mu; void A:f() { s 阅读全文
posted @ 2023-06-02 01:42 Theseus‘Ship 阅读(8) 评论(0) 推荐(0) 编辑
摘要: # Tool-Static Analyzers-C++ ## C++ Code Style ### Google styleguide >https://google.github.io/styleguide/ 包含cpplint #### Google styleguide cppguide >h 阅读全文
posted @ 2023-05-27 17:36 Theseus‘Ship 阅读(85) 评论(0) 推荐(0) 编辑
摘要: # Tool-CMake-vscode-cmake-tools microsoft/vscode-cmake-tools >https://github.com/microsoft/vscode-cmake-tools/blob/HEAD/docs/cmake-settings.md # Confi 阅读全文
posted @ 2023-05-27 12:33 Theseus‘Ship 阅读(224) 评论(0) 推荐(0) 编辑
摘要: # OS-Ubuntu 主机掉电后再开机不进系统 原因:var/log下有log文件占满磁盘。 ## Steps 1. 界面显示:`booting insecure code` 2. 按一次`Esc` 3. 使用Grub的菜单,进Rrecovery Mode,使用root,进入系统删除var/log 阅读全文
posted @ 2023-05-27 11:52 Theseus‘Ship 阅读(257) 评论(0) 推荐(0) 编辑
摘要: # C++-double free or corruption(fasttop) 出现double free or corruption(fasttop) 检查: 1. delete,是否有重复delete 2. 隐式的复制构造函数导致析构次数增加 3. 全局变量,项目代码合并时,不同的共享库中出现 阅读全文
posted @ 2023-05-27 11:28 Theseus‘Ship 阅读(260) 评论(0) 推荐(0) 编辑
摘要: # OS-双系统-Windows+Ubuntu 在已有的Windows10上安装Ubuntu。 ## Ubuntu Image >https://ubuntu.com/download Ubuntu 22.04.2 LTS ubuntu-22.04.2-desktop-amd64.iso ## Ub 阅读全文
posted @ 2023-05-27 11:20 Theseus‘Ship 阅读(16) 评论(0) 推荐(0) 编辑
摘要: # Book-Git从入门到精通 git add . git add --all git log --oneline --graph git rm xxxx --cached git commit --amend -m "xxxx" 修改最后一次commit信息 git rebase git res 阅读全文
posted @ 2023-05-23 22:11 Theseus‘Ship 阅读(6) 评论(0) 推荐(0) 编辑
摘要: # CSCI-CSCI计算机软件配置项(Computer Software Configuration Item) CSCI计算机软件配置项 CSCI是计算机软件配置项(Computer Software Configuration Item)简称,在软件设计文档中经常用到。 阅读全文
posted @ 2023-05-22 21:19 Theseus‘Ship 阅读(140) 评论(0) 推荐(0) 编辑
摘要: # C++-Class-Util & Helper >https://zhuanlan.zhihu.com/p/352749160 >https://www.cnblogs.com/ligiggy/p/15320192.html ``` A Utility class is understood t 阅读全文
posted @ 2023-05-22 21:11 Theseus‘Ship 阅读(9) 评论(0) 推荐(0) 编辑
摘要: # Book-深度探索C++对象模型 ## 序章 对象模型是深层结构的知识,关系到“与语言无关、与平台无关、跨网络可执行”软件组件(software component)的基础原理。也因此,了解C++对象模型,是学习目前软件组件三大规格(COM、CORBA、SOM)的技术基础。 如果你对软件组件(s 阅读全文
posted @ 2023-05-22 21:08 Theseus‘Ship 阅读(12) 评论(0) 推荐(0) 编辑
摘要: # C++-const成员函数 const成员函数 函数不会修改类对象 用于声明不会对其隐式访问的对象进行修改的函数 原型和定义后显示声明const 阅读全文
posted @ 2023-05-22 21:05 Theseus‘Ship 阅读(10) 评论(0) 推荐(0) 编辑
摘要: C++-shared_ptr #include <iostream> #include <memory> #include <vector> class A { public: A(){ std::cout<<"A cc."<<std::endl; }; ~A(){ std::cout<<"A dd 阅读全文
posted @ 2023-05-10 06:04 Theseus‘Ship 阅读(13) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-find_library https://cmake.org/cmake/help/latest/command/find_library.html?highlight=find_library If nothing is found, the result will be - 阅读全文
posted @ 2023-05-09 06:09 Theseus‘Ship 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Tool-CMake-add_custom_command-copy https://cmake.org/cmake/help/latest/command/add_custom_command.html?highlight=add_custom_command add_custom_command 阅读全文
posted @ 2023-05-09 05:58 Theseus‘Ship 阅读(16) 评论(0) 推荐(0) 编辑
摘要: C++-typeid-操作符 基类指针 typeid可以进行类型判断 对于基类指针时: typeid(*pointerBaseClass) == typeid(DerivedClassName) typeid是操作符,不是函数! 在c++中,typeid用于返回指针或引用所指对象的实际类型。 运行时 阅读全文
posted @ 2023-05-09 05:47 Theseus‘Ship 阅读(5) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
Live2D