Test and learning cpp