A learning example for C++ at Foothill College