English 中文(简体)
Lua 或Adhur与C++
原标题:Lua or Python binding with C++

我在NET平台上使用了Lua.NET,我可以称呼。 来自卢阿和我可以打电话给卢阿。 NET Lua API接口。 我与铁蓬一样。 我知道互联网的约束力如何。

现在我有一个C++项目,我希望利用动态能力。 我想说的是C++物体,可能无法从卢阿发射,因此,我可能需要把一些CAP称作C++。 我要从C++打电话给卢阿。

我们的配置数据最好在表格中加以描述,如罗阿或名单和安插格式;二象在沙尔。 我们需要列举在C++的Lua/Python确定的这些数据结构。

当在C++中考虑Lua至Adhur时,有两条电话吗? 我在具有约束力的Sharma/C++方面没有经验。 我没有在C++和从C++起使用沙捞越的同等经验。

最佳回答

当在C++中考虑Lua至Adhur时,有两条电话吗?

有几个图书馆简化了C++和Lua之间的沟通。 其中之一是:luabind。 简言之,非常强大,很容易使用。

其他C++ <-> Lua Library to consider: toLua++ ,

问题回答

如果你计划只使用窗户,你可以使用C++/CLI管理式C++。 有了C++/CLI,你可以很容易地混合管理和管理不严的守则。 您可以从任何净语言和来自C的未管理的(出口)职能中指定管理班级。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签