can I write logic for a game in C and GUI in other language (python) and link...
I'd like to use gtk+
can I write logic for a game in C and GUI in other language (python) and link...
I'd like to use gtk+
I guess so.
mix python and c - Google Search
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
..Yes. But it can be a bit difficult and frustrating to do.
Last edited by manasij7479; 08-09-2011 at 05:08 AM.
As I'm sure you're aware you can use Gtk+ from C (in fact that's its native language, so to speak) . . . mixing languages as you have described is possible but quite a lot of effort, and probably only worth it if you're trying to create a plugin system with the scripting language or something like that.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.