CPS 6, Ramm - Spring 2000 - 3/24/00 #25
- Announce
- Quiz Today
- Exam Wednesday
- Review Monday
Chap 10. Recursion, Lists, & Matrices
- Towers of Hanoi
- Classic Problem
- Manual Solution
- Recursion
hanoi.cpp
- Real Life Applications
- Trees
- Directories
- Sorting
- Recursion vs Iteration
- Time
- Factorial 22:9, 35:25
- Fibonacci 2900:25, 1872:9, 778:73
- Memory
- What's Going on With the Fibonacci Recursion?
- Problems for In Class Consideration
- Scope vs Lifetime
- Lifetime
- Normal (automatic)
- Global
- Static
- Dynamic (new, delete)
- Related Issues
- Initialization
- Shadowing
- Nested Scope
- Scope Resolution Operator