如何将代码从python更改为c ++ [英] how do I change code from python to c++

查看:239
本文介绍了如何将代码从python更改为c ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在NS-3模拟器上工作我有一个用python编写的代码我想把它改成C ++代码,以便在上面提到的模拟器上运行它。

解决方案

您可以将代码从C ++转换为Python或尝试调用它。这是一个有很多有趣内容的有趣的文章。至少有一些正在运行的C ++代码。





为什么你自己找不到它? :-O

I am work on NS-3 simulator I have a code written in python I want to changing it to C++ code in order to run it on the mentioned simulator.

解决方案

You can translate the code from C++ to Python or try calling it. Here is an interesting article with a lot of interesting stuff. At least some running C++ code.


Why havent you found it on your own? :-O


这篇关于如何将代码从python更改为c ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆