so my problem is I have a Python script which reads datas from a sensor, at the end i want these datas to get into a string in the C++ code.
I have tried installing boost.python but didn't work. (The installation it self have failed, so im looking for a new option)
Basicly the question is:
I have a script like this:
def sum():
string = "whateverdata" // the data got read in
return string
sum()
And i want to use it this way:
#include <string>
int main()
{
string data = ??? // idk how
// processing the string
return 0;
}