code cleaning in C++ files