a c++ code library