learn cpp demo