BehaviorTree.CPP 工程指南:从执行模型到仿真系统
把 BehaviorTree.CPP 的决策逻辑、执行生命周期、异步节点、仿真边界和性能测量串成一条可复用的 C++ 工程路径。
构建、对象生命周期、并发、调试、性能和工程化工具链。
把 BehaviorTree.CPP 的决策逻辑、执行生命周期、异步节点、仿真边界和性能测量串成一条可复用的 C++ 工程路径。
以所有权和关闭协议为主线,整理智能指针、互斥锁、条件变量、线程池和内存错误排查中的可复用实践。
把构建、内存、并发、调试和性能分析串成一条可执行的学习路径,适合作为 C++ 后端项目的入门与复查清单。
Guide to building an offline C/C++ development environment on air-gapped Kylin V10 SP1 servers, covering dependency analysis, local APT repositories, deployment, and automation.
Practical guide to optimizing BehaviorTree.CPP performance, covering profiling, node overhead reduction, memory layout, and scheduling strategies for large real-time behavior trees.
Survey of C++ performance analysis and optimization tools, from time and perf to VTune, valgrind, sanitizers, and CPU pinning, with practical usage examples.
Comprehensive reference covering BehaviorTree.CPP 4.9 node types, tree XML definition, tick model, Groot2 integration, and migration from v3 to v4.
Hands-on notes on BehaviorTree.CPP and Groot2, covering tree design, ZeroMQ-based remote tree communication, and practical debugging workflows.
可以用doxygen根据代码生成文档 安装 sudo apt install graphviz # 用于生成代码关系图 https://graphviz.org/ sudo apt install doxygen www.doxygen.org https://www.doxygen.nl/ https://github.com/doxygen/dox...
在使用std::mutex时,应该声明为全局或者类的静态成员变量。
出现double free or corruption(fasttop) 检查: delete,是否有重复delete 隐式的复制构造函数导致析构次数增加 全局变量,项目代码合并时,不同的共享库中出现同名的全局变量[本次问题的原因,修改新增的全局变量名称后fixed.]
https://zhuanlan.zhihu.com/p/352749160 https://www.cnblogs.com/ligiggy/p/15320192.html
基类指针 typeid可以进行类型判断 对于基类指针时: typeid(*pointerBaseClass) == typeid(DerivedClassName)
std::this_thread::get_id() 头文件:<thread> 函数:std::this_thread::get_id() 用例:std::thread::id thread_id = std::this_thread::get_id();
https://baike.baidu.com/item/%23pragma%20once/9468158?fr=aladdin
https://blog.csdn.net/qq_41972382/article/details/90311102
std::exception 定义于头文件 <exception> class exception; https://www.apiref.com/cpp-zh/cpp/error/exception.html
【C++高级教程,C++类模板一次讲透,必须收藏!】 https://www.bilibili.com/video/BV1v84y1x7Qp/?share_source=copy_web&vd_source=3809390a14c335e7731c9e076c03eeba
https://blog.csdn.net/ccw_922/article/details/124662275 https://blog.csdn.net/sinat_35945236/article/details/124505414
C++工程,使用new操作符,new一个抽象类对象时编译报错如下: Error:invalid new-expression of abstract class type XXX
Linux下使用C++11的chrono库获取时间。
Linux的可执行程序异常退出时,提示“核心已转储”。 此时需要系统生成core文件,并通过GDB调试以确定问题。
最近在看面试的一些内容,发现github上总结的内容开篇与之前Leetcode会员查阅的内容相同,所以在这里记录分享。
C++ Standard Library reference –https://docs.microsoft.com/ Standard C++ Library reference –https://www.cplusplus.com
November 28, 2020 4:56 PM
November 14, 2020 7:40 PM 今天看C++Primer时发现: /*当表达式中同时存在有符号和无符号的类型时,有符号类型先转为无符号参与计算*/ unsigned int un1 = 1; int n2 = -1; std::cout<< "1[unsigned int] * -1[int]" <<un1 ...
书上第一章的几个练习。 关于直方图有点头疼,之后再仔细研究一下。
书上关于strcpy介绍了数组、指针、指针简化的例子,对于代码简化是个可见的例子,记录下来。
直接抄的书上的,编译没过,应该和系统有关,用的windows系统去编译unix上的函数。 就功能理解上还是可以的,所以没有再去linux上重新编译。
最近软考的时候才知道的逆波兰表达式,这个竟然是C的内容之一,把书上的抄下来了。 主要就是对操作数的入栈出栈,以及与操作符匹配的一种应用方式。
照着书敲了一遍然后又重新读了一次才发现程序通过while循环识别的 -xn这种输入。
2020.11月软考时考了希尔排序,但是目前我还是没想明白他的那个if要填什么。。。。。
July 11, 2020 7:43 AM
July 10, 2020 2:16 AM
JSON的简单介绍以及C语言的JSON库使用
Frequently Asked Technical Questions
https://libevent.org/ https://libevent.org/libevent-book/ https://github.com/libevent/libevent
https://www.bilibili.com/video/av2357992 C#本质论.pdf
July 9, 2020 11:30 PM
Building Github 配置使用Cmake 测试项目: 1.创建Win32控制台应用程序,创建完成后把include和lib文件夹拷贝到项目路径下 2.项目配置: 点击项目属性》c/c++》代码生成中运行库中修改为“多线程调试(/MTd)” 点击项目属性》c/c++》常规中附加包含目录中添加头文件路径 点击项目属性》链接器》常规中附加包含目录中...
Building Apache log4cxx with Microsoft Visual Studio
July 8, 2020 11:51 PM C#调用C++ 参数void* c# ref C++ &
July 3, 2020 11:11 PM 参考: Deploying a Qt5 Application Linux AppImage