Chapter
17
TEMPLATES AND EXCEPTIONS
·
To be able to write a
C++ function template.
·
To be able to write
code that instantiates a function template.
·
To be able to write a
user-defined specialization of a function template.
·
To be able to write a
C++ class template.
·
To be able to write
code that instantiates a class template.
·
To be able to write
function definitions for members of a template class.
·
To be able to define
an exception class and write code that throws an exception.
·
To be able to write an
exception handler.
Chapter 18
RECURSION
·
To be able to identify the base case(s) and the general
case in a recursive definition.
·
To be able to write a recursive algorithm for a problem
involving only simple variables.
·
To be able to write a recursive algorithm for a problem
involving structured variables.
·
To
be able to write a recursive algorithm for a problem involving linked lists.