A crappy C++ library