Miscellaneous C++ sources