add compare cpp file