I created a header file called python, allowing to use input and print like in python but in the C++ language, following the same problem as you that I have not managed to solve. I will give you the link to the github I just posted it quickly not long ago