Discussion Outline
Session 5
General questions
Current material
- Random numbers - #include <stdlib.h>
- Seeding the generator using srand()
only has to be done once in a program.
It needs to be done before the first
call to rand();
- Using time to seed the generator - need to #include <time.h>
- Top-down Design
- Stubs
- Drivers (test harnesses)
- Incremental programming
- Separate Compilation
Project 2