Another piece of C++ code I wrote recently: a C++ wrapper for SQLite. Thanks to a few C++11 features I think it allows for really clean and concise code in many common cases. As part of the example code, I also wrote a basic schema migration function.
Get the source code here.