This is the code when I learn cpp