954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Best way to convert C++ coding to Python

anyone have any idea?

i need some suggestion urgently

:sad:

davalend
Newbie Poster
1 post since Jan 2006
Reputation Points: 10
Solved Threads: 0
 

Why not write a Python program to translate C++ code to Python code? Would be a nice project. Start with something simple and go from there.

vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
 

>Why not write a Python program to translate C++ code to Python code?
Probably (barring sneaky tricks that wouldn't count) because you'd effectively be writing both a C++ and Python parser and evaluator, not to mention a kickass AI to convert C++ into intelligent Python. Doable, but very very difficult to the point of not being worth the effort.

Narue
Bad Cop
Administrator
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You