+ 2
Python with C++ projects
I have finished SL's Python course, and my friend C++ course and we want to do a project together. After some research., I discovered that you can do great things with them mixed, but I haven't found any idea for a project . Can someone give me some advice about what we can make together? If possible only with SL lessons :D(without needing to learn libraries)
1 Réponse
+ 6
You can add C or C++ libraries to Python as talked about here.
https://docs.python.org/2/extending/extending.html
Your project would be something coded in Python with support in a C++ library. I'd prove it with something simple. Code a C++ function that takes a string and put all even index characters first followed by the odd ones. Make the Python code read, call the C++, and display it. Once you have simple done, ideas of useful should appear. Look for things that C++ can do better that Python doesn't have or is difficult to code.