What is the best way to pass information from java to c++?

后端 未结 8 1753
太阳男子
太阳男子 2021-02-07 04:59

I have a java application I need to pass some info to a C++ program. It has been suggested that I use some simple socket programming to do this. Is this the best way? If not

8条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-07 05:33

    Also, if this isn't lost in the noise, use SWIG to help you if you try the JNI route. http://www.swig.org/

提交回复
热议问题