Topics for Exam 2, spring2003

Everything from test 1 topics plus:
 

arrays:
  arrays on the stack
  arrays on the free store
  arrays as parameters and arguments of functions
  array elements as arguments
  array names as constant pointers
  arrays of objects
  arrays as member data
pointers:
  new, delete
  pointers as member data
  null pointer
  to the freestore or the stack
  as parameters and arguments
  pointers to objects
  ->
  dangling pointers
  memory leaks

constructors and destructors for
  data on the stack
  data on the freestore
  composite classes
composite classes
multiple file programs
using input and output files
addresses
freestore (heap) vs the stack
operator overloading - member and nonmember
overloading << and >>
friend functions
default values for parameters
#include
test stubs
random numbers, rand(), srand()
link lists
nodes
arithmetic with chars
*this
#ifndef, #define, #endif and why we use these
enumerated constants
static member data and static member functions

Chapters refer to the Third edition of Deitel and Deitel
Chapters 1-4 (except 3.12, 3.13, 3.14, 3.21)
Chapter 5 (except const 5.5, function pointers 5.11)
Chapter 6
Chapter 7 (except const 7.2, containers 7.9, 7.10 proxy classes)
Chapter 8
11.1-11. 3 (except 11.3.4), 11.4.1, 11.6.3
14.1-14.6
17.1-17.3,17.5
18.5
21.1,21.2,21.3,21.6