a cpp code