x

Figures Gone Bad

Here is the version of Figure 13.7 where the count variable is defined as a local variable inside the function. It ceases to exist after each call to the add_one() function. Worse yet, the get_total() function can't even find it.

 
Clarification For Section 13.4

This page contains a discussion and two examples to clarify a sublety that is only briefly mentioned in the text.

 

Source Files for Figures
Figure 13.1
Figure 13.3
Figure 13.5
Figure 13.7
Figure 13.8
Figure 13.9
Figure 13.10
 
Figures as They Appear in the Text
 

Support for
Homework Problems
Exercise 8
Exercise 11
Exercise 13
 
Extra Exercises
These will be provided over time as I make them and as they are suggested to me.