C++ Programs and Assignments