i am new to c++ and i know so much more python than c++ and i have to change a code from c++ to python, in the code to change i found this sentence:
p->arity = std::stoi(x, nullptr, 10);
i think for sake of simplicity we can use
p->arity = x; /* or some whit pointers im really noob on c++ but i think this is not importan */
in python does this means something like
p[arity] = x
or similar? or what? im a little lost whit all these new(for me) concepts like pointers and memory stuff but now whit -> operator
thanks in advance