农民代表
- 积分
- 6173
- 大米
- 颗
- 鳄梨
- 个
- 水井
- 尺
- 蓝莓
- 颗
- 萝卜
- 根
- 小米
- 粒
- 学分
- 个
- 注册时间
- 2012-8-15
- 最后登录
- 1970-1-1
|
本帖最后由 麻倉枼 于 2021-11-4 22:30 编辑
既然有一点Java的知识背景,你可以花大量地时间攻略这些基础:
1. Pointer vs Reference
- smart pointer
2. Stack vs Heap
3. new vs malloc vs calloc
4. delete vs free
- 进阶: Memory allocation in general.
5. Data structure
- vector vs. linked list vs. fixed array
- iterator vs. pointer
- different ways to traverse an array.
- hashtable
- ordered map vs. unordered map
- ordered set vs unordered set
- tree
- binary tree vs. binary search tree.
- complete binary tree vs. full binary tree, etc.
- heap (不是memory那个)
- heap vs binary tree
- min heap
- max heap
- stack (不是memory那个)
- stack vs. vector vs. queue vs. deque
6. Little Endian vs. Big Endian
7. Two complements
8. Bit Manipulation
9. inline functions
10. friend.
11. intializer list vs. Normal way to initalizing an instance of object.
12. Constructor, Destructor, Copy Constructor, Copy Destructor, Move Constructor, Default Constructor, 等等
- Operator overloading
13. temporary variables
14. optional argument
15. static variable
16. virtual functions
- vTable
- vPointer
- Diamond Problem
- Multi-inheritance
- Virtual class
17. extern.
18. struct vs. class
19. default privacy level of a struct,
default privacy level of a class.
20. const.
21. static_cast, dynamic_cast, reinterpret_cast, C-style cast.
- When to use them?
22. bool, char, short, int, long, float, double
铭记它们的size和上下限。
23. tuple vs. pair
24. string vs. string_view vs. const char*
25. structure binding
26. header files vs. source file
- relationship between Linker and Object File
- How an IDE compile a program.
27. Visual Studio:
- Debug vs. Release mode
- break point
- How to debug
- console
- call stack
进阶:
23. parallel programming
- thread
- SIMD
24. generic programming
- template
暂时想到这些
|
|