Skip to content

Latest commit

 

History

History
 
 

Chapter1_Programming

README.md

Chapter 1: Programming

How to Run Examples, Debug and Test Code

Here are the HOWTOs

Code Examples

Memory Management

  • 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

Recursion, Compiling, Debugging and Testing

Classes

Pointers and Dynamic Memory Allocation

STL vector and string

Parameter passing

Destructor, copy constructor and assignment

Templates

Comparators

Command Line Interface and File IO