some my cpp code