My CPP code