Introducing Arrays
The principle of fixed-length storage transcends Scheme's vector type; it arises in C as something we call an array. We'll begin with a reading from your textbook, follow-up with a reading showing how these are useful in programming the Scribbler 2 robot and conclude with a demonstration of passing arrays as function parameters.
- Textbook reading:
- King: Section 8.1, pages 161-169, OR
- K&R: 1.6, 1.9, 5.7
- Arrays and the Scribbler 2
- Arrays as Parameters
