Quote:
could anyone convert the code to a C++ code
Yes, about any professional programmer can do it, but about none of them will do it for free.
Translating from Python to C++ is not just adapting code because of slight syntax differences, it is a complete rewrite because dynamic arrays are completely difference beast in both languages, one have to recreate features or rethink code to match features of C++, and it is real work.