Some of my cpp codes