[ 12.html ]
(pay attention to the errors)
and do Review Questions at the end.
[ trace.h ]
[ tracetest.cpp ]
[ traceExtend.cpp ]
Hand in one even numbered review question+answer at the start of class.
Here are the
Rules of Memory Management
- * Get the memory before it is used.
- Initialize it after you have got it and before it is used.
- Use it and change it as necessary only when you own it and it has been initialized.
- * Delete it when finished with it.
- Do not refer to it after it is deleted.
But do it thoughtfully.
[ 13q.html ]
[ 14.html ]
Next project due class 17 (bonus in 16).
Next quiz in class 17.