Issue converting python code to c++

Printable View