cpp learning template added