Đã Hủy

import a c++ class into python

I have a big .cpp file with a lot of classes. I need to import one specific class in this file into python and be able to use it there. I provide a sample main function in the file which a creates an object of this class(named "Nuclei", just scroll down or search for it within the file) and shows how it is used. It is a really simple class but I don't know hot to import it in python. I attach the file so you can play around with it. If you are capable of roughly reproducing my example main function from within python, that is create a Nuclei object and call one of its functions, then the work is automatically yours. Have in mind that I use mac and linux so the solution must be unix compatible.

Kỹ năng: Lập trình C, Lập trình C++, Python

Xem thêm: programming cpp, mind programming, play programming, programming functions, programming function, programming example, cpp programming, unix c, python work, python programming, python c, linux python, cpp, import compatible, python create file, python file create, programming python, search python, python function, simple import, python import cpp, python search, call python, unix programming, python simple

Về Bên Thuê:
( 7 nhận xét ) Frankfurt am Main, Germany

Mã Dự Án: #1639782