Recursion and gdb Lab
Tom Kelliher, CS23
Feb. 24, 1997
Collect programming assignment.
Next time we begin ADTs.
Outline:
- Discussion of lab program.
- Lab.
- What this program does.
- Again, multiple source files.
- A dynamically-sized array.
-
delete [] data:
int *a, *b;
a = new int;
b = new int[5];
delete a;
delete [] b;
- Two ways of using
#include.
-
#ifdef, #else, etc.
- The two versions of MaxArray().
- assert()
Thomas P. Kelliher
Sat Feb 22 12:23:03 EST 1997
Tom Kelliher