cpp code