C++ Lab 8