this is a c++ code question is in file itself