| Example | header | driver | Notes |
|---|---|---|---|
| 0 | ex00.cpp | Program that overloads a function to deal with multiple data types. | |
| 1 | ex01.cpp | Replacing the overloaded functions with a single fuction using the template<T>
syntax |
|
| 2 | tstats.h | test.cpp | Using templates to implement some statistical functions |
| 3 | safearray.h | driver.cpp | Modifying our safearray to be a template class |
| 4 | driver.cpp | ||
| 5 | safearray.h | driver.cpp | More brains for our safearray |
| 6 | driver.cpp |