超好用的 C++ 备忘单

图片均来自hackingcpp.com,个人认为它是有关c++编程最好的科普网站。本文只是截取了部分cheatsheet,更多详细请进入该网站查看。
C++ build model

2. variable, object, value, type的区别

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. 有字符串作为参数的函数,应该如何选择字符串参数类型?

7. references









8. 写函数应该要注意哪几个点


9. Function Call Mechanics
太长了,具体请看:https://hackingcpp.com/cpp/lang/function_call_mechanics.html

推荐阅读

评论