C++ Programming Examples
hello, world
an example of const parameters and const-reference return types
an example using new and delete
Oct 17, 2006:
an Eclipse workspace containing five projects:
v1 illustrating the use of operator overloading for output
v2 adding inheritance to v1 (badly: the subclass duplicates the methods and fields of the superclass)
v3 correcting these mistakes and avoiding duplicate code
polymorphism, which illustrates run-time polymorphism using a taxonomy of pets
exceptions, which illustrates how to throw and catch exceptions in C++
Last modified:
Stephen Bloch /
sbloch@adelphi.edu