my cpp learning code