Code samples I wrote as I was working on cplusplus.com tutorials.