CS 16 Plan for Today, 2/26/2018: Review PA4 solution More 1D array topics: Using arrays to count [rolldie.cpp] Partially filled arrays [07-09.cpp] Searching an array [07-10.cpp] Sorting an array [07-12.cpp, 07-13.cpp] Multidimensional arrays - think nested loops [07-14.cpp, and Displays 7.15-16] C-style string basics (start of Chapter 8) char s[4] = "abc"; // s[3] is ‘\0’ char t[] = "defg"; // t size is 5 char x[] = "hi", y[] = "hi"; // x != y // so instead check strcmp(x,y) == 0 More functions [Display 8.1] Command line arguments [args.cpp from PA5]