Here are the HOWTOs
- Some Questions:
- Where do programs store variables and objects?
- Where does memory come from and how is memory returned?
- Why do we need dynamic memory allocation?
- Differences between memory management in C, C++, Java and Python.
- Video: Memory Diagrams
- Example: Memory allocation
- Example: Calculate factorials
- Example: IntCell
- Example: Pointers
- Reading: References vs. Pointers
- Example: Arrays and cstrings vs STL vectors and strings
- Reading: The C++ Standard Template Library (STL)
- Example: Call-by-value vs call-by-reference and using
const.
- Example: Big five for classes
- Example: Function templates
- Example: Class templates
- Example: Comparator
- Example: CLI and file IO