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
CSEE
|
201
|
201 F'98
|
lectures
|
news
|
help
Friday, 09-Oct-1998 10:04:29 EDT