Sample code for "Accelerated Introduction to C++"