edit .cpp file