remove print statements from c++ code