… as the one with C? Or is it slightly more complicated?
In general, more complicated. You can declare things as extern C
and build c-style interfaces using C++
but C++
has a lot of things about it that make it hard to interoperate with (such as name mangling).
1 Like
You have to make C bindings, so it’s more complex.
Although tons of C++ libraries will already have them written by the community, so you might be able to piggyback off of existing bindings for another language, just using the headers and nothing else
1 Like