Cpp code (24/46)

Cpp code