c++ lab 6