Added the first C++ generation code