YC Yc.W home Systems · C++ · AI Infrastructure
Topic / 51 notes

C & C++

构建、对象生命周期、并发、调试、性能和工程化工具链。

The primary shelf

Primary-topic C & C++ notes

51 articles
deep dive Review required Version-sensitive AI-assisted Use caution

BehaviorTree.CPP 4.9 Complete Guide

Comprehensive reference covering BehaviorTree.CPP 4.9 node types, tree XML definition, tick model, Groot2 integration, and migration from v3 to v4.

C++ 生成 UML 类图

可以用doxygen根据代码生成文档 安装 sudo apt install graphviz # 用于生成代码关系图 https://graphviz.org/ sudo apt install doxygen www.doxygen.org https://www.doxygen.nl/ https://github.com/doxygen/dox...

C++-double free or corruption(fasttop)

出现double free or corruption(fasttop) 检查: delete,是否有重复delete 隐式的复制构造函数导致析构次数增加 全局变量,项目代码合并时,不同的共享库中出现同名的全局变量[本次问题的原因,修改新增的全局变量名称后fixed.]

C++

C++ typeid 操作符

基类指针 typeid可以进行类型判断 对于基类指针时: typeid(*pointerBaseClass) == typeid(DerivedClassName)

C++

C++-#pragma once

https://baike.baidu.com/item/%23pragma%20once/9468158?fr=aladdin

C++

C++ 标准异常 exception

std::exception 定义于头文件 <exception> class exception; https://www.apiref.com/cpp-zh/cpp/error/exception.html

C++

C++-template class-模板类

【C++高级教程,C++类模板一次讲透,必须收藏!】 https://www.bilibili.com/video/BV1v84y1x7Qp/?share_source=copy_web&vd_source=3809390a14c335e7731c9e076c03eeba

C++

C++ Standard Library reference

C++ Standard Library reference –https://docs.microsoft.com/ Standard C++ Library reference –https://www.cplusplus.com

C++

C语言-C语言程序设计-Function-fopen

直接抄的书上的,编译没过,应该和系统有关,用的windows系统去编译unix上的函数。 就功能理解上还是可以的,所以没有再去linux上重新编译。

C

Google Test

Building Github 配置使用Cmake 测试项目: 1.创建Win32控制台应用程序,创建完成后把include和lib文件夹拷贝到项目路径下 2.项目配置: 点击项目属性》c/c++》代码生成中运行库中修改为“多线程调试(/MTd)” 点击项目属性》c/c++》常规中附加包含目录中添加头文件路径 点击项目属性》链接器》常规中附加包含目录中...

C#-Tips

July 8, 2020 11:51 PM C#调用C++ 参数void* c# ref C++ &

C#
Keep exploring

Connected topics