-
Linking C++ with Python
Hi all
This is my first post here, so Hello to everyone.
I have made a program in C++ and would really like to try and begin implementing a GUI, however I have found information on the internet, which suggests C++ does not support this task as part of the library.
Python however does, so my question is; is it possible to make a program from C++ and Python ( C++ for actual logic of program ,Python for GUI) Or is this not possible?
If it is possible how would one begin doing this?
Thanks for your time.
-
Using a thirdparty library such as Products — Qt - A cross-platform application and UI framework will allow you to create a GUI using C++. There are many more libraries available, some are platform dependant (WinAPI is the native windows library) and some are platform independant (like the one i linked, and many more, google is your friend). It will probably be easier to go that route rather than using python and c++ and trying to get them to work together.
-
boost has libraries for integrating the two. I'd suggest checking that out if you're really serious about using C++ with python