working through "The C++ Tutorial" course from learncpp.com