c++ code test