超好用的 C++ 備忘單

圖片均來自hackingcpp.com,個人認為它是有關(guān)c++編程最好的科普網(wǎng)站。本文只是截取了部分cheatsheet,更多詳細請進入該網(wǎng)站查看。
C++ build model

2. variable, object, value, type的區(qū)別

3. c++ sequence containers, associative Containers, special Containers



4. Iterators(objects that point to a location, An iterator refers to a position in a container)

5. 如何確定該使用哪個sequence container

6. 有字符串作為參數(shù)的函數(shù),應(yīng)該如何選擇字符串參數(shù)類型?

7. references









8. 寫函數(shù)應(yīng)該要注意哪幾個點


9. Function Call Mechanics
太長了,具體請看:https://hackingcpp.com/cpp/lang/function_call_mechanics.html

推薦閱讀

評論
圖片
表情
