changing extention to cpp