I am trying to interact with a c++ program using python.
Imagine the c++ program looks like this:
#include int main(){ std::cout