these are some pattern problem based on cpp. you can take a look and learn by these solved problem.