Java调用c++类对象

上传者: xiaohan2909 | 上传时间: 2021-07-20 15:45:06 | 文件大小: 120KB | 文件类型: ZIP
使用Jni实现对C++类库调用的实例,主要方法是利用了C++中的指针机制和jlong类型的对接,从而在java中能够调用c++。

文件下载

资源详情

[{"title":"( 19 个子文件 120KB ) Java调用c++类对象","children":[{"title":"writeutfLib","children":[{"title":".project <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"src","children":[{"title":"person.o <span style='color:#111;'> 41.61KB </span>","children":null,"spread":false},{"title":"ouc_sei_test_JniPerson.o <span style='color:#111;'> 61.82KB </span>","children":null,"spread":false},{"title":"ouc_sei_test_testWrite.o <span style='color:#111;'> 84.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"person.cpp <span style='color:#111;'> 610B </span>","children":null,"spread":false},{"title":"ouc_sei_test_JniPerson.h <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"person.h <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"ouc_sei_test_JniPerson.cpp <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.cdt.managedbuilder.core.prefs <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true},{"title":".cproject <span style='color:#111;'> 15.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"WriteExample","children":[{"title":".project <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"ouc_sei_test_JniPerson.h <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"ouc","children":[{"title":"sei","children":[{"title":"test","children":[{"title":"JniPerson.java <span style='color:#111;'> 979B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"text.txt <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"libwriteutfLib.dll <span style='color:#111;'> 141.60KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"ouc_sei_test_JniPerson.h <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"ouc","children":[{"title":"sei","children":[{"title":"test","children":[{"title":"JniPerson.class <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • woidson1986 :
    资源还行.234@#$
    2017-12-27
  • puyuyingyi :
    ((Person*)thiz),thiz是什么啊
    2016-11-23

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明