simple library for c++