Archived

This topic is now archived and is closed to further replies.

StonieJ

one program, multiple languages

Recommended Posts

I''ve heard that a particular flight simulator (IL-2 Sturmovik) uses both C++ and Java code. Personally, I find some aspects of Java much easier to use than C++, and I wouldn''t mind being able to somehow use both languages together in one of my projects. I haven''t looked into it very much, but how easy is this to do? It can be done, right?

Share this post


Link to post
Share on other sites
Yup, take a look at JNI, just search for it in Google. I''m using both Java and C++, it''s a bit tricky at first, but really rather easy to use, and it works no problem.

Share this post


Link to post
Share on other sites