Conversion to C++