Integrated C++ code