看到一篇博客“如何成为一名合格的C/C++开发者?”,写的很全面,部分也很深入,对于C++开发入门和进阶都有很好的参照性。
由于文章的后半部分是收费阅读的,就不在这里直接摘抄,只做一些阅读笔记。https://gitchat.csdn.net/activity/5bd81467642db707a4cd02e5
关于 C++11 常用一些知识点
- auto 关键字
- for-each 循环
- 右值及移动构造函数 + std::forward + std::move + stl 容器新增的 emplace_back() 方法
- std::thread 库、std::chrono 库
- 智能指针系列(std::shared_ptr/std::unique_ptr/std::weak_ptr),智能指针的实现原理一定要知道,最好是自己实现过
- 线程库 std::thread + 线程同步技术库 std::mutex/std::condition_variable/std::lock_guard 等
- Lamda 表达式(Java 中现在也常常考察 Lamda 表达式的作用)
- std::bind/std::function 库
C++面试题
https://www.nowcoder.com/discuss/121478
书籍推荐:
https://mp.weixin.qq.com/s/EjgtX2Wghia7ajn2AugCtw
经典的、轻量级的书籍《C++ 对象模型》、《Effective C++》