Interfacing Prolog to C++

Hi Everyone!

I know that before asking questions … RTFM … and so I did :wink:

However, I could find a(some?) full example(s), mentioning the libraries and the include files (C++ part) and the modifications to do to SWI to allow it to be called from C++ (and vice-versa)

Have I lost anything? Is this information someplace else?

Many thanks for your help!


The include file is SWI-cpp.h and you have to link to libswipl. How to do the latter depends on the platform.