Can I call a C++ function from python and python function from C++ without library file like .so ...? [closed] - c++

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
I search the Python/C api and I write the my code. But this code shouldn't have .so like library files. İs it possible? If possible please show me to way.
I use CFFI,cython,pybind11 this is have the same way.

Related

Function in CUDA that does the same thing as compiler.SourceModule in pyCUDA [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 days ago.
Improve this question
I have a question in CUDA programming.
Is there a way to obtain a module by accepting the contents of a *.cu file as a string rather than loading a *.cu file and compiling with cubin? I'd like to utilize nvrtc if possible.
I wrote most of the code using nvrtc, and I'm looking for a way to not create external files like cubin.

How to check multiple files for duplicates in C++ [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I need to compare 5 files by their file paths: a,b,c,d,e and find duplicates if exists.
How can I do this in c++ via md5sum comparison of files?
You'd need to compute a checksum for each file (write it yourself or call an external program), get hold of each file, ... This depends on the operating system. It is much easier to do something like this in a scripting language.

How to make a MATLAB function to be run in html? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I've developed a MATLAB code that I think it is useful to be used by researchers. How can I embed it in a website to be used free?
It gets two integers and return a set of integers
Also it is possible to convert it to c++, If it helps.
Thanks
Submit your m-file(s) to Matlab Central File Exchange, this is the perfect place for it.

Creating a python library in C or C++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Can C or C++ be used to program a library in python? I know that python can be used to write a library but I am wondering if C or C++ can be used.
Definitely. There are lots of high performance libraries written in C (simplejson being a notable and fairly simple example.)
See http://wiki.python.org/moin/IntegratingPythonWithOtherLanguages

How to activate ModernUI application from native code? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have native code executing (x86) in process of modernUI app, I need to activate the application. I can't find API for this.
I finally found it. IApplicationActivationManager should do the trick.