Sample programs written in both C++ and Python