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
Related
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.
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 months ago.
Improve this question
I have a simple C++ file, but I do not want to use the C++ standard library, just the C one.
Can this be done using CMake? Basically disabling access to the c++ headers, and only allowing linking to the C standard.
You can use target_compile_options(yourprog PRIVATE -nostdinc++) for clang and GCC based toolchains and /X with the path to its STL headers with msvc
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 6 years ago.
Improve this question
I intend to use OpenCV for a project in which I've already built the server in Go. However, OpenCV doesn't have a Go API, so what's the best solution? Call a c++ program with .exec, use swig, find another library to do computer vision?
Thanks.
Edit: I want to maximize performance, and I'm ok with C++.
SWIG is certainly a viable option.
You can also search for a Go binding to OpenCV. For example: https://github.com/lazywei/go-opencv
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 constructed my code in objective-c for ios in-app purchasing.
There is one project needs c++ code.
Just wonder if I change iap objective-c code to c++,
is there any special point I need to notice?
Your comment welcome
You cannot use Objective-C objects in C++. But C++ can use Objective-C library with C interface. Objective-C++ can use Objective-C objects in C++ too.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
What are the advantages of C++ over the others languages in working with videodata and videodevices (developing object detection program). Thank you.
for object detection, you could use python, matlab, java and c++. You have to use c++ if you need substantially speed improvement (C++ is the fastest in most of the cases). You could also use OpenCv easily with c++ for face and object detection.