update all c++ files and make a partition of them