摘要: 首先这篇文章参考了以下两位的分享: https://rob-blackbourn.github.io/blog/vscode/clang/llvm/ubuntu/20.04/2021/07/04/howto-llvm-vscode-ubuntu.html 在VS Code中使用Clang作为你的C+ 阅读全文
posted @ 2022-03-27 12:39 naive_sim 阅读(989) 评论(0) 推荐(0) 编辑
摘要: vcpkg的中文使用文档 有两个关键的地方 默认安装的是x86,建议考虑到适用性建议安装x64,安装命令是vcpkg install [package name]:x64-windows 若您希望在 Visual Studio 中使用vcpkg安装一个库后就需要执行vcpkg integrate i 阅读全文
posted @ 2022-03-26 19:15 naive_sim 阅读(234) 评论(1) 推荐(0) 编辑
摘要: 找到最靠近内部的标识符,从该标识符开始依据从内到外,从右到左的顺序读 void (*f)(int,void (*)()) f is a pointer,point to a function,function has two parameters and ruturn void, int and v 阅读全文
posted @ 2022-03-24 22:48 naive_sim 阅读(27) 评论(0) 推荐(0) 编辑