improve this cpp code?

Printable View