Been programing my lady brown an can into a issue about syntax error
Look here and see if you find the correct syntax.
Your comments start with “//” which is comment syntax for C++, not Python.
Additionally, it appears that you are using a mix of c++ and python, using “void” to define a function. It seems that a look through the code for any c++ syntax would be very helpful in your case.
You’re defining that class a little weirdly, it might help to insert an object type, like Obj. try and search the web for small problems like these, they often have awnsers
As other people pointed out, you can’t just copy/paste c++ code into a python program and expect it to work, it’s written for a different programming language so the python interpreter will not understand it. If you still want to copy the code, switch your program to c++, otherwise you need to port the copied code to python.