CPS 6, Ramm - Spring 2000 - 2/28/00 #17
- Announce
- Quiz Friday (3/3/00)
- Tests Back: 70-72 9, 65-69 16, 60-64 24, 55-59 9,
50-54 13, 45-49 5, 40-44 10, 35-39 4, 30-35 2
Chap 7. Class Interfaces, Design, and Implementation
- Quiz Program
- Includes Student and Quiz Classes
-
quiz.cpp
- Preprocessor
- #include files, missing?
- #ifndef, #define, #endif
- multiple copies of include files
- Compiler
- Linker
- Undefined symbols
- Missing modules
- Alternate Question Class (State Capitals)
- Includes Student and Quiz Classes
-
capquest.cpp
-
capquest.h
- Frogs that can't make up their minds ...
- Random Walks (1-D)
- Physics
- Statistical
- Coin Toss
- Frog Example
- Gambling Example
- Random Walk Class
- Random Walks (2-D)
- Passing a Class by Value/Reference
- Done for strings many times...
-
scopedice.cpp