trying to learn cpp