Unit III: Functions

Lecture notes

Sample Programs

Reading

Most of this unit is on functions (which in C++ are also called "methods").

Chapter 4 of the textbook talks about functions. You should read this. (This doesn't cover reference parameters, since the textbook doesn't talk about those until it covers pointers in Chapter 6)

The first lecture of this unit took a quick look at the basic features of arrays. The textbook covers arrays in Chapter 5, so you might want to take a look at the start of Chapter 5 as well. If you don't, no worries, we'll get to arrays in lots of detail in Unit IV.