Sams Teach Yourself C++ in 21 Days

(singke) #1

In Review


The following program (as shown in Listing R3.1) brings
together many of the advanced techniques you’ve learned
during the past three weeks of hard work. Week 3 in Review
provides a template-based linked list with exception handling.
Examine it in detail; if you understand it fully, you are a C++
programmer.

WEEK 3 15

16


17


18


19


20


21


If your compiler does not support templates, or
if your compiler does not support tryand
catch, you will not be able to compile or run
this listing.

CAUTION

28 0672327112_w3_wir.qxd 11/19/04 12:30 PM Page 791

Free download pdf