It ends up that I'm teaching many students C++. I am working on a repository of code examples to get everyone started. Everything's open source, so please feel free to use the code.
I haven't pushed yet, but I will today. The repository is at
https://github.com/yash101/CodingClub
All the samples are written for Linux, and the binaries only work in Linux. However, you should have no problem compiling most of the code in Windows or Mac (where Mac will compile the code with the same command but will create a different executable).