my c++ code