看到一篇博客“如何成爲一名合格的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++》