ITK 168 – More Variables 10/13/05
Some useful pages Which kind of loop to use: Becker, Section 5.5.5, pg. 231 Ignore the do-while and while-true loops use a normal while loop in these cases Which kind of variable to use: Becker, Section 6.4.1, pgs. 277 and 278
Example of using instance variables BasketballPlayer Show constant with shoe size
Debugging Breakpoints Stepping Watching Example with step-over step-in step-out Watching Example with
Another example of using instance variables and constants Go through SimpleBot Modify SimpleBot to “teleport”
Yet another example of using instance variables – this time with painting Modify StickFigurePair to change the color of the shirt