Skip to main content
gamedev.net
🔒 Locked

C++ and Python

Started by Black_Lotus 2 replies 1.1k views
Original Post
Black_Lotus
Black_Lotus
Im pretty new to programming, I'm learning Python and C++. And I head you can use those two together. So I was curious, is it possible to make a game with C++ and Python?
SiCrane
SiCrane
Yes it is possible. Examples include Freedom Force and the Third Reich and Civ 4.
annerajb
annerajb
and battefield 2
Forcas
Forcas
For more info on using Boost and C++ together, read about extending and embedding on the Python/C API documentation, found at www.python.org

With Boost.Python(www.boost.org), you can write functions just as you normally would in C++, and then call them in Python.
-Forcas writeln("Does this actually work?");

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.