Hi thanks for your response!
I have already successfully tried this method of reading from a text file and even saving it to a different one. My problem and lack of understanding focuses on 2 points:
1) How can i return the value to the python program
2) how to directly send data between the 2 programs? I mean how to call the C++ function and send the arguments directly from the python program rather than having the...
User Profile
Collapse
-
Exchange Data between Python and C++
I have just started learning programming. I have completed a number of tutorials with regards to Python Basics.
I now want to exchange information between python and C++. For example. I have 2 numbers in python which I call a program written in C, which adds those 2 numbers and returns the result to python.
Which is the simplest way to do this?
No activity results to display
Show More
Leave a comment: