Unit 3 - Memory

Pointers. Segmentation Faults. Dynamic Memory Allocation. Stack. Heap. Buffer Overflow. File I/O. Images.

Lecture

Source Code

Resources

Shorts
Reference Sheets

Practice, Problems & EC

  • Practice Problems:
    1. Smiley: Learn how to work with images & practice manipulating pixels
    2. Bottom Up: practice working with images and metadata
    3. License: practice working with files and file pointers
    4. Whodunit, oldie, but goodie; working with images
  • Problem Set:
  • Extra Credit:
    • Volume
    • In addition to this EC problem, if you complete some or all of the practice problems above, I will give a little extra extra credit 😊
    • All practice problems should be submitted if that is an option, or a screenshot placed in the Unit3 EC assignment in Teams, labeled as to which problem it is; I will post the Teams assignment for this EC the week of Thanksgiving

Advice

  • Try out David’s programs from class via Unit 3’s examples
  • If you see any errors when compiling your code with make, focus first on fixing the very first error you see, scrolling up as needed. If unsure what it means, try asking help50 for help. For instance, if trying to compile filter, and
make filter 

is yielding errors, try running

help50 make filter

instead!