Browse courses

Computer Science II

Functions, arrays, pointers, strings, and vectors, with separate programming labs.

Start with Computer Science I for the foundations used in this course.

Lectures

  1. Array parameters and partially filled arraysLecture 4 ·
  2. Pointers, addresses, and dynamic allocationLecture 6 ·
  3. Pointer lifetimes, aliases, and dynamic arraysLecture 7 ·
  4. Resizing and multidimensional dynamic arraysLecture 8 ·
  5. C-style strings, copying, and comparisonLecture 9 ·
  6. C++ strings, substrings, and text editingLecture 10 ·

Labs

  1. Parallel arrays and inventory operationsLab 3 ·