Syllabus

  1. 01ArraysGroup many values of one type under one name: create and initialize arrays, read and change elements by index, find the length with sizeof, loop over every element, stay inside the bounds, and model grids with two-dimensional arrays.5 lessons
    1. 01Creating Arrays
    2. 02Reading and Changing Elements
    3. 03Length and Loops
    4. 04Staying in Bounds
    5. 05Two-Dimensional Arrays
  2. 02StringsHandle text in C: strings as char arrays ending in a null character, reading and changing single characters, measuring, copying and joining with string.h and snprintf, and comparing and searching inside strings.4 lessons
    1. 01Strings Are Char Arrays
    2. 02Working with Characters
    3. 03Measuring, Copying and Joining
    4. 04Comparing and Searching
  3. 03Project: Letters and RunsCombine arrays and strings in two small programs: a letter counter built on an array of 26 counters, and a run-length encoder that packs repeated characters into a short code and unpacks them again.2 lessons
    1. 01Project: Letter Counter
    2. 02Project: Run-Length Encoding