C++ programming assignments